blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
332
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
7
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
557 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
684M
star_events_count
int64
0
77.7k
fork_events_count
int64
0
48k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
82 values
src_encoding
stringclasses
28 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
5.41M
extension
stringclasses
11 values
content
stringlengths
7
5.41M
authors
listlengths
1
1
author
stringlengths
0
161
3c6b0cb150e54bbe7bf04f22b38713c3619d6081
c57bf007f8cddd815266fe3d985981cafd0baa90
/sample/src/main/java/cn/ieclipse/af/demo/sample/third/OkHttpStack.java
05a9c279dfce575390c3b7d438ccb9eefaa4677c
[]
no_license
pengju1218/QuickAF
d6c24f5ecdcf4e93114d4fd2d23347c703c139ef
180ee22702f3dc104effe32e7d46ad4f8e10847b
refs/heads/master
2021-01-17T21:21:56.705556
2017-03-03T07:26:39
2017-03-03T07:26:39
null
0
0
null
null
null
null
UTF-8
Java
false
false
6,489
java
/* * Copyright (C) 2015-2016 QuickAF * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package cn.ieclipse.af.demo.sample.third; import com.android.volley.AuthFailureError; import com.android.volley.Request; import com.android.volley.toolbox.HttpStack; import org.apache.http.HttpResponse; import java.io.IOException; import java.util.Map; /** * Volley + OKHttp, need new {@link cn.ieclipse.af.demo.sample.third.OkHttpStack} and set to {@link cn.ieclipse.af.volley.VolleyConfig} * * @author Jamling * @date 2015/10/28. */ public class OkHttpStack implements HttpStack { // private final OkHttpClient mClient; // // public OkHttpStack(OkHttpClient client) { // this.mClient = client; // } // // public OkHttpStack() { // this(new OkHttpClient()); // } // @Override public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) throws IOException, AuthFailureError { // // OkHttpClient client = mClient.clone(); // int timeoutMs = request.getTimeoutMs(); // client.setConnectTimeout(timeoutMs, TimeUnit.MILLISECONDS); // client.setReadTimeout(timeoutMs, TimeUnit.MILLISECONDS); // client.setWriteTimeout(timeoutMs, TimeUnit.MILLISECONDS); // // com.squareup.okhttp.Request.Builder okHttpRequestBuilder = new com.squareup.okhttp.Request.Builder(); // okHttpRequestBuilder.url(request.getUrl()); // // Map<String, String> headers = request.getHeaders(); // for (final String name : headers.keySet()) { // okHttpRequestBuilder.addHeader(name, headers.get(name)); // } // for (final String name : additionalHeaders.keySet()) { // okHttpRequestBuilder.addHeader(name, additionalHeaders.get(name)); // } // // setConnectionParametersForRequest(okHttpRequestBuilder, request); // // com.squareup.okhttp.Request okHttpRequest = okHttpRequestBuilder.build(); // Call okHttpCall = client.newCall(okHttpRequest); // Response okHttpResponse = okHttpCall.execute(); // // StatusLine responseStatus = new BasicStatusLine(parseProtocol(okHttpResponse.protocol()), okHttpResponse.code(), // okHttpResponse.message()); // BasicHttpResponse response = new BasicHttpResponse(responseStatus); // response.setEntity(entityFromOkHttpResponse(okHttpResponse)); // // Headers responseHeaders = okHttpResponse.headers(); // for (int i = 0, len = responseHeaders.size(); i < len; i++) { // final String name = responseHeaders.name(i), value = responseHeaders.value(i); // if (name != null) { // response.addHeader(new BasicHeader(name, value)); // } // } // // return response; return null; } // // private static HttpEntity entityFromOkHttpResponse(Response r) throws IOException { // BasicHttpEntity entity = new BasicHttpEntity(); // ResponseBody body = r.body(); // // entity.setContent(body.byteStream()); // entity.setContentLength(body.contentLength()); // entity.setContentEncoding(r.header("Content-Encoding")); // // if (body.contentType() != null) { // entity.setContentType(body.contentType().type()); // } // return entity; // } // // @SuppressWarnings("deprecation") // private static void setConnectionParametersForRequest(com.squareup.okhttp.Request.Builder builder, // Request<?> request) throws IOException, AuthFailureError { // switch (request.getMethod()) { // case Request.Method.DEPRECATED_GET_OR_POST: // // Ensure backwards compatibility. Volley assumes a request with a null body is a GET. // byte[] postBody = request.getPostBody(); // if (postBody != null) { // builder.post(RequestBody.create(MediaType.parse(request.getPostBodyContentType()), postBody)); // } // break; // case Request.Method.GET: // builder.get(); // break; // case Request.Method.DELETE: // builder.delete(createRequestBody(request)); // break; // case Request.Method.POST: // builder.post(createRequestBody(request)); // break; // case Request.Method.PUT: // builder.put(createRequestBody(request)); // break; // case Request.Method.HEAD: // builder.head(); // break; // case Request.Method.OPTIONS: // builder.method("OPTIONS", null); // break; // case Request.Method.TRACE: // builder.method("TRACE", null); // break; // case Request.Method.PATCH: // builder.patch(createRequestBody(request)); // break; // default: // throw new IllegalStateException("Unknown method type."); // } // } // // private static ProtocolVersion parseProtocol(final Protocol p) { // switch (p) { // case HTTP_1_0: // return new ProtocolVersion("HTTP", 1, 0); // case HTTP_1_1: // return new ProtocolVersion("HTTP", 1, 1); // case SPDY_3: // return new ProtocolVersion("SPDY", 3, 1); // case HTTP_2: // return new ProtocolVersion("HTTP", 2, 0); // } // // throw new IllegalAccessError("Unkwown protocol"); // } // // private static RequestBody createRequestBody(Request r) throws AuthFailureError { // final byte[] body = r.getBody(); // if (body == null) { // return null; // } // // return RequestBody.create(MediaType.parse(r.getBodyContentType()), body); // } }
[ "li.jamling@gmail.com" ]
li.jamling@gmail.com
95e57eeac2ab621c6b36700726a276749f0d2acb
a0c1c34e9964f2e7e382766b8f535d80424a5781
/src/java/alibaba/exam210409_game4.java
05e5138b239cf4dfda0d30ebbd83c2dc012c9d2b
[]
no_license
BetterBo/doExercise
4c60fe7fa44e2e79809820ecc7187f7c71b9c87a
8f16df3e2030324c7f5d8c52b82c91d7ffc37672
refs/heads/master
2023-06-11T19:38:43.074269
2021-07-04T04:04:45
2021-07-04T04:04:45
317,263,671
0
0
null
null
null
null
UTF-8
Java
false
false
1,819
java
package java.alibaba; import java.util.Scanner; /** * @ClassName exam210409_game4 * @Description 输入数字n * cOne,cFive,cTen,cTwe代表一块、五块、十块、二十五块的分别个数 * 输入result表示能有多少种凑法 * @Author yangxiaobo * @Date 2021/4/9 19:54 * @Version 1.0 */ public class exam210409_game4 { public static void main(String[] args) { int q,n; int cOne,cFive,cTen,cTwe; Scanner in = new Scanner(System.in); q = in.nextInt(); while((q--)>=0){ n = in.nextInt(); cOne = in.nextInt(); cFive = in.nextInt(); cTen = in.nextInt(); cTwe = in.nextInt(); int temN = n; int retult = 0; int twe = Math.min(cTwe,temN/25); for(int i=0;i<=twe;i++){ if(25*i==temN){ retult++; continue; } temN -= 25*i; int ten = Math.min(cTen,temN/10); for(int j=0;j<=ten;j++){ if(10*j==temN){ retult++; continue; } temN -= 10*j; int five = Math.min(cFive,temN/5); for(int k=0;k<=five;k++){ if(5*k==temN){ retult++; continue; } temN -= 5*k; if(temN<=cOne){ retult++; } temN += 5*k; } temN += 10*j; } temN += 25*i; } System.out.println(retult); } } }
[ "yangxb@bupt.edu.cn" ]
yangxb@bupt.edu.cn
d602ad28bee0559a2ccb3747c704eb47b7a8bc35
bb43f8e55317a57c6049b18389c8eea0444ed190
/src/thothbot/parallax/loader/shared/collada/DaeIdElement.java
a235cd4f032f742c8016c412309330037fbc2578
[ "CC-BY-3.0" ]
permissive
angelzaldivar/parallax
a172396d8b7151f11968a98c7166692c72941d46
07e2885a241728f10c732ce6df99a79184bffc72
refs/heads/master
2021-01-22T00:29:27.385658
2015-10-23T16:42:56
2015-10-23T16:42:56
45,826,845
1
0
null
2015-11-09T09:03:53
2015-11-09T09:03:53
null
UTF-8
Java
false
false
1,417
java
/* * Copyright 2012 Alex Usachev, thothbot@gmail.com * * This file is part of Parallax project. * * Parallax is free software: you can redistribute it and/or modify it * under the terms of the Creative Commons Attribution 3.0 Unported License. * * Parallax is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the Creative Commons Attribution * 3.0 Unported License. for more details. * * You should have received a copy of the the Creative Commons Attribution * 3.0 Unported License along with Parallax. * If not, see http://creativecommons.org/licenses/by/3.0/. */ package thothbot.parallax.loader.shared.collada; import com.google.gwt.xml.client.Node; public class DaeIdElement extends DaeElement { private String id; private String name; private String sid; public DaeIdElement(Node node) { super( node ); } public void destroy() { super.destroy(); id = name = sid = null; } public String getID() { return id; } public String getName() { return name; } public String getSID() { return sid; } public void read() { id = readAttribute("id" ); sid = readAttribute("sid" ); name = readAttribute("name"); } public String toString() { return "id=" + this.id + ", name=" + this.name + ", sid=" + this.sid; } }
[ "thothbot@gmail.com" ]
thothbot@gmail.com
c047eb55e19d89eb699cf987c5b9c87cd45f2c65
42fbb2c041916e53aa6013bf82b669c89fbc7724
/projects/PracticeJava/src/aaMianXiangDuiXiang/TestPackageImport.java
1762ef25d2449eea17e0faa087dfbeeb502f3b1b
[]
no_license
liyao0312/studynotes
b176e2eb46474bc86b1970ea5c152f04ee15c1b5
d49601f6c94884f68f8f25eb1dc9885b2a3d71c3
refs/heads/master
2022-11-19T12:18:29.284888
2019-11-06T06:53:38
2019-11-06T06:53:38
201,610,401
6
0
null
2022-11-10T07:39:43
2019-08-10T09:43:19
Java
UTF-8
Java
false
false
506
java
import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Scanner; import static java.lang.System.out; public class TestPackageImport { public static void main(String[] args) { out.println("helloworld"); Scanner s = new Scanner(System.in); s.next(); Date d = new Date(); List list = new ArrayList(); java.sql.Date d1 = new java.sql.Date(522535114234L); Field f = null; } }
[ "370582412@qq.com" ]
370582412@qq.com
1779b79aa597aa2ecc9cdc1cfc895990ff302158
ad5ab31bbbeb46ab172d1efbe42b80e6e6e70189
/src/main/java/cn/yinguowei/flowable/PersonRepository.java
70c1c24e27ff62965669b14871b83b057b01e34b
[]
no_license
yingw/flowable
ebf42fba8ef52dc77b3a16e3bbbbf7b7f410c914
979dbd8b8b920f96e259f646f7d30b3fd8360c85
refs/heads/master
2020-04-08T06:53:53.946432
2018-11-26T05:51:39
2018-11-26T05:51:39
159,117,484
0
0
null
null
null
null
UTF-8
Java
false
false
318
java
package cn.yinguowei.flowable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * @author Yin Guo Wei 2018/11/25. */ @Repository public interface PersonRepository extends JpaRepository<Person, Long> { Person findByUsername(String username); }
[ "yinguowei@gmail.com" ]
yinguowei@gmail.com
1a6595060b1e974555c494ff0f0a78b367fd2e3e
15438e43b76db0284cd06f6924202b51cfa1a8ab
/LoginActivity.java
b9904cf94b271f96e05999fd61eccaf4165f050d
[]
no_license
vijimasstech/Firebase
c7da84b6779d8a3daa811aee4c12a520744ed3af
832d366295665de4e741cdf90497f68f5971d1de
refs/heads/master
2020-03-29T01:35:17.109185
2018-09-19T05:27:12
2018-09-19T05:27:12
149,396,226
0
0
null
null
null
null
UTF-8
Java
false
false
7,250
java
package com.example.masstechfour.crazytasty; import android.app.ProgressDialog; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import android.widget.Toolbar; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.auth.AuthResult; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseUser; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import com.google.firebase.database.ValueEventListener; import java.util.ArrayList; import java.util.Collections; public class LoginActivity extends AppCompatActivity { //private Toolbar toolbar; private EditText username1, password2; private Button buttonlogin; private DatabaseReference databaseReference; private FirebaseAuth firebaseAuth; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate ( savedInstanceState ); setContentView ( R.layout.activity_login ); username1 = (EditText) findViewById ( R.id.username1 ); password2 = (EditText) findViewById ( R.id.password2 ); buttonlogin = (Button) findViewById ( R.id.buttonlogin ); databaseReference = FirebaseDatabase.getInstance ().getReference ( "Usres" ); firebaseAuth = FirebaseAuth.getInstance (); buttonlogin.setOnClickListener ( new View.OnClickListener () { @Override public void onClick(View view) { login (); } } ); } private void login() { final String username = username1.getText ().toString ().trim (); final String password = password2.getText ().toString ().trim (); final String id = databaseReference.push ().getKey (); Artist artist=new Artist ( id, username,password ); databaseReference.child ( id ).setValue ( artist ); if (username.equals ( "Crazy" ) && password.equals ( "Tasty" )) { Intent i2 = new Intent ( LoginActivity.this, Admin.class ); startActivity ( i2); }else if (username.equals ( artist.getUsername () ) && password.equals ( artist.getPassword () )){ Toast.makeText ( getApplicationContext (), "Login successfully...",Toast.LENGTH_LONG ).show (); } else { Toast.makeText ( getApplicationContext (), "Username and Password is incorrect", Toast.LENGTH_LONG ).show (); } } } // Artist artist = new Artist ( username,password ); // if (username.equals ( "Crazy" ) && password.equals ( "Tasty" )){ // Intent intent1 = new Intent ( LoginActivity.this, Admin.class ); // startActivity ( intent1 ); // } // else{ // Toast.makeText ( getApplicationContext (), "Username and Password is incorrect", Toast.LENGTH_LONG ).show (); // } // else if (artist.getUsername ().equals ( username1) && artist.getPassword ().equals ( password2 )){ // Intent intent2 = new Intent ( LoginActivity.this, UserLogin.class ); // startActivity ( intent2 ); // } // } // // @Override // public void onCancelled(@NonNull DatabaseError databaseError) { // // } // } ); // query.addListenerForSingleValueEvent(new ValueEventListener() { // @Override // public void onDataChange(DataSnapshot dataSnapshot) { // if (dataSnapshot.exists()) { // // dataSnapshot is the "issue" node with all children with id 0 // // for (DataSnapshot user : dataSnapshot.getChildren()) { // // do something with the individual "issues" // UsersBean usersBean = user.getValue(UsersBean.class); // // if (usersBean.password.equals(txvPassword.getText().toString().trim())) { // Intent intent = new Intent(context, MainActivity.class); // startActivity(intent); // } else { // Toast.makeText(context, "Password is wrong", Toast.LENGTH_LONG).show(); // } // } // } else { // Toast.makeText(context, "User not found", Toast.LENGTH_LONG).show(); // } // } // // @Override // public void onCancelled(DatabaseError databaseError) { // // } // }); // final String username=username1.getText ().toString ().trim (); // final String password=password2.getText ().toString ().trim (); // FirebaseDatabase database = FirebaseDatabase.getInstance(); // DatabaseReference databaseReference = database.getReference("Users"); //users is a node in your Firebase Database. // Artist artist = new Artist (username, password); //ObjectClass for Users // databaseReference.push().setValue(artist); // //final String Username = username1.getText ().toString ().trim (); // final String Password = password2.getText ().toString ().trim (); // final Artist artist = new Artist ( Username, Password ); // if (Username.equals ( "Crazy" ) && Password.equals ( "Tasty" )) { // Intent intent = new Intent ( getApplicationContext (), Admin.class ); // startActivity ( intent ); // }else { // // DatabaseReference ref = FirebaseDatabase.getInstance().getReference(); // if (Username.equals ( "Crazy" ) && Password.equals ( "Tasty" )) { // Intent intent = new Intent ( getApplicationContext (), Admin.class ); // startActivity ( intent ); // ref.child("Users").child("username").addListenerForSingleValueEvent(new ValueEventListener() { // @Override // public void onDataChange(DataSnapshot dataSnapshot) { // if(dataSnapshot.exists()){ // // // use "username" already exists // } else { // // "username" does not exist yet. // } // } // // @Override // public void onCancelled(DatabaseError databaseError) { // // } // });
[ "noreply@github.com" ]
noreply@github.com
0d5a30e11b815e0a186fec9fd980056a86f32ae3
be9fcd9d36a89c2512f8f68c0a44f603cdbfa176
/Prog/SoftRoll/src/Interface/VstTableItemModel.java
3e92167799b8751d0424142e1937264fd0cd5bda
[]
no_license
Ari3lAB/SoftRoll
a145dfcfd8b94d3d9921e6b5526f8171a25a30af
8400d8cbb30bb546bee59f39070af9afb87dc08d
refs/heads/master
2022-10-19T17:06:40.935232
2020-05-21T21:28:47
2020-05-21T21:28:47
249,299,576
0
1
null
2022-10-04T23:57:25
2020-03-23T00:29:19
Java
UTF-8
Java
false
false
1,771
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Interface; import DAO.Producto; import java.util.ArrayList; import java.util.List; import javax.swing.table.AbstractTableModel; /** * * @author Ariel AB */ public class VstTableItemModel extends AbstractTableModel { private List<Producto> productos; public VstTableItemModel(List<Producto> productos) { this.productos = new ArrayList<Producto>(productos); } @Override public int getRowCount() { return productos.size(); } @Override public int getColumnCount() { return 3; } @Override public Object getValueAt(int rowIndex, int columnIndex) { Object value = "??"; Producto producto = productos.get(rowIndex); switch (columnIndex) { case 0: value = producto.getId(); break; case 1: value = producto.getNombre(); break; case 2: value = producto.getPrecio(); break; } return value; } // @Override // public Class<?> getColumnClass(int columnIndex) { // return // Return the class that best represents the column... // } /* Override this if you want the values to be editable... @Override public void setValueAt(Object aValue, int rowIndex, int columnIndex) { //.... } */ /** * This will return the producto at the specified row... * * @param row * @return */ public Producto getProductoAt(int row) { return productos.get(row); } }
[ "aab-97@hotmail.com" ]
aab-97@hotmail.com
0c3ade87bb317bb655d7ad5ecf05f8b2c01777a8
ad1fcefeddbe2662fc36863fb6cd3d1768212e5d
/mucwiz-client/src/com/mucwiz/onTimeUpListener.java
12a918e4edeb10699ad94b3553d13fa3bac83e79
[]
no_license
mst-zz/mucwiz
8fc399835d86d90cca8b99c65603cef2dc62f4e8
b153b763b897621ba082334fa47a2bf3aa8bf9db
refs/heads/master
2016-09-08T00:28:02.855405
2012-08-16T08:40:27
2012-08-16T08:40:27
null
0
0
null
null
null
null
UTF-8
Java
false
false
86
java
package com.mucwiz; public interface onTimeUpListener { public void onTimeUp(); }
[ "jemilsson@mint-base" ]
jemilsson@mint-base
5031db3f4427699371818839ce7ef7df788a2e5a
2efc2bab02e80e09bb96a3786b6f7f09e25d3ea2
/src/com/afarmani/oop/encapsulation/Main.java
4c9a377bb0a1ff0855b62942b7bdd1490d7498b0
[]
no_license
afarmani/OOPAndDesignPatterns
cd3692c58d0dbe96647d149f97f50ee80166eb1a
84ead1b8de235855558886a9a13e041cf54b345c
refs/heads/master
2021-03-02T16:05:35.078823
2020-03-12T03:39:01
2020-03-12T03:39:01
245,882,467
0
0
null
null
null
null
UTF-8
Java
false
false
437
java
package com.afarmani.oop.encapsulation; /**encapsulation is concept that protects classes from being updated directly by other classes. * You would want to this to ensure integrity of your classes by controlling what values are being * set within the class by using public methods. **/ public class Main { public static void main(String[] args){ Account account = new Account(); account.setBalance(10); } }
[ "afarmani1a@gmail.com" ]
afarmani1a@gmail.com
b07183afa41ac2d59af637aa38a42081bcc9cbfb
eff11ad99f0c9348ce1a733e91a0034227419a61
/storm/src/main/java/org/slowcoders/storm/EntityReference.java
22c487f0eedc8a138678bfd1d4e4f845cde5b0e8
[ "MIT" ]
permissive
slowcoders/storm
4accd9d2ef93a5f2a0e7cc103a9113380d295d48
dc18fc64bbe5423bba6380f38f44205880fcc436
refs/heads/master
2022-04-14T22:54:49.968107
2020-02-28T06:35:45
2020-02-28T06:35:45
238,836,012
1
0
null
null
null
null
UTF-8
Java
false
false
8,284
java
package org.slowcoders.storm; import java.lang.ref.SoftReference; import java.sql.SQLException; import org.slowcoders.io.util.NPAsyncScheduler; import org.slowcoders.io.util.UITask; import org.joda.time.ReadableInstant; import org.slowcoders.observable.ChangeType; import org.slowcoders.util.Debug; public abstract class EntityReference implements ORMEntity { private long entityId; private SoftReference<EntitySnapshot> cache; private Object[] ghostData; private long lastModifiedTime; private Observer observer; public EntityReference(long entityId) { this.entityId = entityId; } public EntityReference(long entityId, EntitySnapshot snapshot) { this(entityId); snapshot.setReference_unsafe(this); } public abstract StormTable getTable(); public abstract EntitySnapshot loadSnapshot(); public abstract EntitySnapshot tryLoadSnapshot(); public final long getEntityId() { return this.entityId; } public final EntityReference getEntityReference() { return this; } public final long lastModifiedTime() { return this.lastModifiedTime; } public final EntitySnapshot getAttachedSnapshot() { if (this.cache == null) { return null; } EntitySnapshot snapshot = this.cache.get(); if (snapshot == null || snapshot.getReference_internal() == null) { return null; } return snapshot; } final Object[] getGhostData_unsafe() { return this.ghostData; } public final boolean isDeleted() { return this.entityId <= 0; } public static ORMHelper createORMHelper() { return ORMHelper.defaultInstance; } public boolean equals(Object other) { return this == other; } public String toString() { long id = -this.getEntityId(); return this.getTable().getTableName() + id; } public ORMEntity getStormEntity(StormTable table) { Debug.Assert(this.getTable() == table); return this; } /** * @param ghostData**************************************/ /* Internal methods */ /*--------------------------------------*/ final void setGhostData(Object[] ghostData) { // called before delete // // we store uniques values as ghostData in memory // and delete them from database // so that another entity can be created // with same uniques values this.ghostData = ghostData; } synchronized final void markDeleted() { // called after delete Debug.Assert(this.entityId > 0); this.entityId = -this.entityId; } final void setLastModifiedTime(long time) { this.lastModifiedTime = time; } protected void deleteEntity() throws SQLException, InvalidEntityReferenceException {} private static TransactionalOperation<EntityReference> opDelete = new TransactionalOperation<EntityReference>() { @Override protected Object execute_inTR(EntityReference ref, long transactionId) throws SQLException { ref.onDelete_inTR(); return null; } }; protected final void doDelete() throws SQLException, InvalidEntityReferenceException { StormDatabase db = this.getTable().getDatabase(); db.executeInLocalTransaction(opDelete, this); } public final boolean isForeignKeyLoaded() { return this.lastModifiedTime > 0; } protected final void doLoadForeignKeys() { if (!this.isForeignKeyLoaded()) { try { this.getTable().loadForeignKeys(this); } catch (SQLException e) { Debug.ignoreException(e); } } } protected void onDelete_inTR() throws SQLException, InvalidEntityReferenceException { StormTable table = getTable(); table.delete_inTR(this); } protected static void onDelete_inTR(EntityReference ref) throws SQLException, InvalidEntityReferenceException { if (ref != null && !ref.isDeleted()) { ref.onDelete_inTR(); } } protected static void onDelete_inTR(StormFilter rowSet) throws SQLException, InvalidEntityReferenceException { rowSet.delete_inTR(); } final void markForeignKeyLoaded() { this.lastModifiedTime = 1; } protected final EntityReference loadMasterForeignKey() { return getTable().loadMasterForeignKey(this); } public static class ORMHelper { static ORMHelper defaultInstance = new ORMHelper(); protected long getNewEntityId(EntityEditor editor) { throw Debug.notImplemented(); } protected void onTableCreated(StormTable table) throws SQLException {} protected void validateBeforeSaveEntity_inTR(EntityEditor edit) throws RuntimeException { edit.validate_inTR(); } } public static class DebugUtil { public static final boolean DEBUG = Debug.DEBUG; public static void assertNullOrMatch(Object a, Object b) { Debug.Assert(a == null || a.equals(b)); } public static void assertDeletedOrMatch(ORMEntity a, Object b) { Debug.Assert(a == null || a.getEntityReference().isDeleted() || a.equals(b)); } public static void assertNullOrMatch(ReadableInstant a, ReadableInstant b) { Debug.Assert(a == null || (a.getMillis() / 1000) == (b.getMillis() / 1000)); } public static void assertNullOrMatch(boolean a, boolean b) { Debug.Assert(!a || a == b); } public static void assertNullOrMatch(Number a, Number b) { Debug.Assert(a.doubleValue() == 0 || a.equals(b)); } public static void clearSnapshot(EntityReference ref) { ref.cache = null; } } synchronized final void attachEntity_RT(EntitySnapshot entity) { if (Debug.DEBUG) { EntitySnapshot old = this.getAttachedSnapshot(); Debug.Assert(old == null || (entity == old && entity.getReference_internal() == this)); } if (!isForeignKeyLoaded() || DebugUtil.DEBUG) { if (this.lastModifiedTime <= 0) { this.lastModifiedTime = 1; } this.validateForeignKey_RT(entity); Debug.Assert(isForeignKeyLoaded()); } this.cache = new SoftReference<>(entity); this.notifyAll(); } public synchronized boolean waitUpdate(long until) { SoftReference<EntitySnapshot> old = this.cache; while (old == this.cache) { try { if (until < 0) { this.wait(); } else { long timeLimit = until - System.currentTimeMillis(); if (timeLimit <= 0) { return false; } this.wait(timeLimit); } } catch (InterruptedException e) { return false; } } return true; } protected synchronized final EntitySnapshot invalidateEntityCache_RT(ChangeType reason) { /** * this function is called before committing changes to database. * we have to inform snapshot-joined foreign keys to load snapshot * to make sure foreign keys hold snapshot before update * * we must first invalidate foreign key entity first, then delete cache * */ this.doLoadForeignKeys(); EntitySnapshot old = this.getAttachedSnapshot(); this.invalidateForeignEntityCache_RT(reason); if (old != null) { this.cache = null; } return old; } protected void invalidateForeignEntityCache_RT(ChangeType reason) {} protected abstract void validateForeignKey_RT(EntitySnapshot entity); protected final EntitySnapshot doTryLoadSnapshot() { EntitySnapshot snapshot = getAttachedSnapshot(); if (snapshot == null && !this.isDeleted()) { try { snapshot = this.doLoadSnapshot(); } catch (InvalidEntityReferenceException e) { // ignore } catch (Exception e) { Debug.ignoreException(e); } } return snapshot; } protected final EntitySnapshot doLoadSnapshot() { EntitySnapshot snapshot = this.getAttachedSnapshot(); if (snapshot != null) { return snapshot; } StormTable<?,?,?> table = this.getTable(); snapshot = table.doLoadSnapshot(this, true); return snapshot; } public interface Observer { void onEntityChanged(EntityReference ref, ChangeType type); } public final Observer getAsyncObserver(){ return this.observer; } public final void setAsyncObserver(Observer observer){ this.observer = observer; } final void notifyObserver(ChangeType type){ if (this.observer == null){ return; } NPAsyncScheduler.executeLater(new UITask() { @Override public void executeTask() throws Exception { Observer ob = EntityReference.this.observer; if (ob != null){ ob.onEntityChanged(EntityReference.this, type); } } }); } public final int hashCode() { return (int)(this.entityId >= 0 ? this.entityId : -this.entityId); } protected void finalize(){ if (isDeleted()) { getTable().removeGhost(entityId); } } }
[ "zeedhoon@gmail.com" ]
zeedhoon@gmail.com
c06450dad45a9709c1aa3e9406eaa8ad0130b983
c2f3c44ba8f962000baf5a3c8d0e366df54c1363
/com.diaosichengxuyuan.network.parent/com.diaosichengxuyuan.network.nio/src/main/java/com/diaosichengxuyuan/network/nio/client/NioClient1.java
c39aef3f8a2cf247fe7f5009988c7f015b97a978
[]
no_license
diaosichengxuyuan/network
3b422148218438f6d5cf3ae9cbbc03953c18720f
aa69a47a53aa35b71221795c4cbdd2050eb10e5a
refs/heads/master
2022-12-23T10:47:50.907569
2020-01-10T13:53:53
2020-01-10T13:53:53
142,111,549
2
0
null
2022-12-12T21:42:09
2018-07-24T05:59:14
Java
UTF-8
Java
false
false
3,891
java
package com.diaosichengxuyuan.network.nio.client; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.util.Iterator; import java.util.concurrent.TimeUnit; /** * NIO客户端 * * 1.Selector.selectedKeys这个集合对象一直是同一个,每次变化的是集合中的SelectionKey个数 * 2.SelectionKey对象不会变(因为Selector使用SelectionKey[]缓存了所有的SelectionKey) * 3.SelectionKey中持有SocketChannel,如果连接不关闭,SocketChannel一直是同一个,每次变化的是注册到Selector中的状态 * 4.selector.select()方法必不可少 * 5.SocketChannel.finishConnect()必不可少 * 6.SocketChannel.read(buffer)没有可读数据时返回0而不是-1 * * @author liuhaipeng * @date 2018/11/30 */ public class NioClient1 { public static void main(String[] args) { new NioClient1().start(); } public void start() { try { SocketChannel socketChannel = SocketChannel.open(); socketChannel.configureBlocking(false); socketChannel.connect(new InetSocketAddress(4321)); Selector selector = Selector.open(); socketChannel.register(selector, SelectionKey.OP_CONNECT); while(true) { int readChannels = selector.selectNow(); if(readChannels == 0) { TimeUnit.SECONDS.sleep(3); continue; } Iterator<SelectionKey> iterator = selector.selectedKeys().iterator(); while(iterator.hasNext()) { SelectionKey selectionKey = iterator.next(); iterator.remove(); if(selectionKey.isConnectable()) { SocketChannel channel = (SocketChannel)selectionKey.channel(); channel.register(selector, SelectionKey.OP_READ); System.out.println("连接就绪,发送数据"); while(!channel.finishConnect()) { TimeUnit.SECONDS.sleep(3); System.out.println("连接未就绪"); } ByteBuffer buffer = ByteBuffer.allocate(1024); buffer.put("我是客户端1".getBytes("UTF-8")); buffer.flip(); channel.write(buffer); } else if(selectionKey.isAcceptable()) { } else if(selectionKey.isReadable()) { SocketChannel channel = (SocketChannel)selectionKey.channel(); ByteBuffer buffer = ByteBuffer.allocate(1024); while(channel.read(buffer) != 0) { } buffer.flip(); byte[] bytes = new byte[buffer.remaining()]; buffer.get(bytes); System.out.println("时间" + System.currentTimeMillis() + " 读取到:" + new String(bytes, "UTF-8")); channel.register(selector, SelectionKey.OP_WRITE); } else if(selectionKey.isWritable()) { SocketChannel channel = (SocketChannel)selectionKey.channel(); ByteBuffer buffer = ByteBuffer.allocate(1024); buffer.put("我是客户端1".getBytes("UTF-8")); buffer.flip(); channel.write(buffer); System.out.println("写数据"); channel.register(selector, SelectionKey.OP_READ); } } } } catch(Exception e) { e.printStackTrace(); } } }
[ "" ]
ae0f247024b8d281b764b1d589c4ca5e2da411d9
d0fc3cd84b551c502d1c83c3215f685fd1f79461
/src/main/java/com/jaaaelu/gzw/learn/java/thinkingInJava/interface9/test/TestInterface.java
1b121ccc1d1843ae3215f999e80c1bc86afb5fbe
[]
no_license
GzwJaaaelu/LearnJava
4c6c112b80b0e31fab4e8b9dd2442246a6082089
bf7f2ae4eee3680b168470a81c5321b7b4f9d9d6
refs/heads/master
2021-06-22T22:39:21.239300
2019-07-31T00:46:39
2019-07-31T00:46:39
147,197,103
0
0
null
null
null
null
UTF-8
Java
false
false
587
java
package com.jaaaelu.gzw.learn.java.thinkingInJava.interface9.test; public interface TestInterface { double PI = 3.14; void a(); void z(); } interface A { void a(); } interface B extends A { void b(); } interface C { void c(); } interface D extends B, C { void d(); } interface E extends D { void e(); } class T implements E{ @Override public void a() { } @Override public void b() { } @Override public void c() { } @Override public void d() { } @Override public void e() { } }
[ "durian@gengzhiweideMacBook-Pro.local" ]
durian@gengzhiweideMacBook-Pro.local
ce47d0977d7adbb3895f27f2a56876b39b4fed39
7b792cfa0f4d539c5c04f72b82ef8bc14ee52a58
/src/Test2.java
0de2186bae2814d852273920a7be84953bc8a8f5
[]
no_license
raidener/JD2
386ccfe70c7c0e72566a1ccbc76294464cddb757
3d3fbb3190dd6552d3c7f19ef4221b1cc8195a26
refs/heads/master
2022-12-26T06:40:37.149808
2020-10-09T14:53:59
2020-10-09T14:53:59
302,111,405
0
0
null
2020-10-09T14:54:00
2020-10-07T17:30:18
Java
UTF-8
Java
false
false
171
java
public class Test2 { public static void main(String[] args) { System.out.println("String for Cherry pick"); System.out.println("Dev change"); } }
[ "raidener@mail.ru" ]
raidener@mail.ru
0528e1f39fdd676f11305d2949df7e8b9d99fd5a
db44b183ce01c25543aed81f445dc22fbb431b6d
/src/main/java/uaiContacts/model/Contact.java
07151b1a758b559663248adaaba1b5a7ff555a56
[ "Apache-2.0" ]
permissive
joedayz/uaiContacts
397482449454da844c9340b39eb2b9fe656cf1ec
c216ad65b710d4514f1e35e3ae3e95663b12fa95
refs/heads/master
2020-04-30T14:25:48.097628
2015-05-21T08:42:45
2015-05-21T08:42:45
35,468,223
10
19
null
null
null
null
UTF-8
Java
false
false
1,325
java
package uaiContacts.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Contact { @Id @GeneratedValue private int id; private String name; private String phoneNumber; private String email; public Contact(){ } public Contact(String name, String phoneNumber, String email, int id) { super(); this.name = name; this.phoneNumber = phoneNumber; this.email = email; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPhoneNumber() { return phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } @Override public boolean equals(Object object) { if (object instanceof Contact){ Contact contact = (Contact) object; return contact.id == id; } return false; } @Override public int hashCode() { return id; } }
[ "jose.diaz@joedayz.pe" ]
jose.diaz@joedayz.pe
6490d98fc627072cd69ff24e14cdfc884dc354a3
033dae5560faaac27e4d59e28710391c71904e91
/SimModSystem-ejb/src/main/java/com/librethinking/simmodsys/models/pesm/parameters/LiabilitiesMinPayment.java
707f813a5c6e4f578d90863ffc6cad8a6ab33df9
[ "Apache-2.0" ]
permissive
cvielma/SimulationModelsSystem
760a16fdbef4e86f8c3f2440316f937e32a87a5c
a675b3585497d51c62a3833cf5bf0b860859dcc1
refs/heads/master
2022-12-16T12:12:53.462810
2022-12-07T10:19:32
2022-12-07T10:19:32
45,106,994
2
0
null
null
null
null
UTF-8
Java
false
false
7,699
java
/** * Copyright 2012 Christian Vielma <cvielma@librethinking.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.librethinking.simmodsys.models.pesm.parameters; import com.librethinking.simmodsys.SIMParameter; import com.librethinking.simmodsys.exceptions.ValueOutOfBoundsException; import java.util.ArrayList; import java.util.Collection; /** * This parameter represents the minimum percentage required to pay every * month calculated over the liabilities. * This is for the PESM (Personal Economy Simulation Model) * * @author Christian Vielma <cvielma@librethinking.com> */ public class LiabilitiesMinPayment extends PESMParameter { public static final String NAME = "LIABILITIES.MINPAY"; public static final boolean UNIQUE = true; public static final double MINVALUE = 0.0; public static final double MAXVALUE = 1.0; public static final double DEFAULTVALUE = 0.0; private int status = 1; private double percentage = DEFAULTVALUE; /** This method returns the name of the SIMParameter. * * @return The SIMParameter's name */ @Override public String getName() { return NAME; } /** Returns the value stored in this parameter, in this case, the amount of * the Liabilities Minimun Pay Percentage. * * @return Collection of one Double object (with the current amount of the * Liabilities Minimun Pay Percentage). */ @Override public Collection<Object> getValue() { Collection<Object> returnArray = new ArrayList<Object>(); returnArray.add(this.getPercentage()); return returnArray; } /** Sets the value of the current amount of the Liabilities Minimun Pay Percentage. This is is similar to * {@link getPercentage}, but this is the general version to comply with the * interface SIMParameter. * * @param value shoud be a Collection of one Double. * * @throws ClassCastException when passed value is wrong (i.e.: Collection is * larger than one element or contained object cannot be interpreted as Double) * @throws NullPointerException if the value passed is null. * @throws ValueOutOfBoundsException if value to be set is not between MINVALUE and MAXVALUE. */ @Override public void setValue(Collection<Object> value) { if(value==null){ throw new NullPointerException("Value to be set is null."); } else if(value.size()!=1){ throw new ClassCastException("'"+NAME+"' expects one and only one value. " + "See documentation for reference."); } else{ try{ this.setPercentage((Double) value.toArray()[0]); } catch(ClassCastException e){ throw new ClassCastException("'"+NAME+"' expects a 'double' and passed " + "value was of type: '"+ (value.toArray()[0]).getClass().getName()+"'."); } } } /** Returns the current Status of this SIMParameter (e.g.: Disabled (currently 1) * or Enabled (currently 0). * @returns Int with the value of the estatus. @see Status Reference */ @Override public int getStatus() { return this.status; } /** Sets the current Status of this SIMParameter. * @param status the value of the new status. */ @Override public void setStatus(int status) { this.status = status; } /** Returns the MaxValue established for the SIMParameter. * Because this parameter only have a MaxValue, it will return a Collection * with only a value of type double. * * @return Collection of one Double. */ @Override public Collection<Object> getMaxValue() { Collection<Object> returnArray = new ArrayList<Object>(); returnArray.add(MAXVALUE); return returnArray; } /** Returns the MinValue established for the SIMParameter. * Because this parameter only have a MinValue, it will return a Collection * with only a value of type double. * * @return Collection of one Double. */ @Override public Collection<Object> getMinValue() { Collection<Object> returnArray = new ArrayList<Object>(); returnArray.add(MINVALUE); return returnArray; } /** @returns true if the SIMParameter is unique (no repeatable), false otherwise. */ @Override public boolean isUnique() { return UNIQUE; } /** Returns the DefaultValue established for the SIMParameter. * Because this parameter only have a DefaultValue, it will return a Collection * with only a value of type double. * * @return Collection of one Double. */ @Override public Collection<Object> getDefaultValue() { Collection<Object> returnArray = new ArrayList<Object>(); returnArray.add(DEFAULTVALUE); return returnArray; } /** This method is convenience method to return the percentage associated without * having to cast the result. Note that this method isn't part of the interface. * * @returns Percentage value. */ public double getPercentage(){ return this.percentage; } /** This method is convenience method to set the percentage associated without * having to cast the parameter or having to put it as a Collection. * Note that this method isn't part of the interface. * * @param percentage Percentage value. * @throws ValueOutOfBoundsException if value to be set is not between MINVALUE and MAXVALUE. */ public void setPercentage(double percentage){ if(percentage>= this.MINVALUE && percentage <= this.MAXVALUE){ this.percentage = percentage; } else{ StringBuilder sb = new StringBuilder(); sb.append("Percentage passed: ").append(percentage); sb.append(" is not in range: MIN ").append(this.MINVALUE); sb.append(" and MAX ").append(this.MAXVALUE); sb.append("."); throw new ValueOutOfBoundsException(sb.toString()); } } @Override public boolean equals(Object obj){ if (getClass() != this.getClass()){return false;} LiabilitiesMinPayment myparam = (LiabilitiesMinPayment) obj; return myparam.getPercentage() == this.getPercentage() && myparam.getStatus() == this.getStatus(); } @Override public int hashCode(){ return (int) (this.getPercentage() + this.getStatus()); } @Override public String toString(){ StringBuilder sb = new StringBuilder(); sb.append("[Name: '").append(this.getName()).append("', MinValue: "); sb.append(this.MINVALUE).append(", MaxValue: ").append(this.MAXVALUE); sb.append(", DefaultValue: ").append(this.DEFAULTVALUE); sb.append(", Status: ").append(this.status).append(", PERCENTAGE: "); sb.append(this.percentage).append("."); return sb.toString(); } }
[ "cvielma@bitbucket.org" ]
cvielma@bitbucket.org
b6505cfc6348f66a32990c87b45003de9c69a182
28bd4a04fad92ed3d988bd92bb8a64f710aeea8f
/src/IntegerRoman.java
f06f20e23e7fcc0d4c99d4da2c9c4958fda1fee5
[]
no_license
wbwmartin/OnePiece
d0826d0dc3e2d982c6b3f1ac428c7332089a6597
769599e8b0851774c25cd621289eaa2363533efb
refs/heads/master
2021-01-16T18:56:15.933101
2018-02-03T05:34:23
2018-02-03T05:34:23
100,130,181
2
0
null
null
null
null
UTF-8
Java
false
false
925
java
//Given an integer, convert it to a roman numeral. // // Input is guaranteed to be within the range from 1 to 3999. public class IntegerRoman { public static String intToRoman(int num) { if (num <= 0) { return ""; } int[] nums = {1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1}; String[] symbols = {"M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"}; StringBuilder res = new StringBuilder(); int digit = 0; while (num > 0) { int times = num / nums[digit]; num -= nums[digit] * times; while (times > 0) { res.append(symbols[digit]); times--; } digit++; } return res.toString(); } public static void main(String[] args) { int i = 199; System.out.println(intToRoman(i)); // CXCIX } }
[ "wangbowen1990@gmail.com" ]
wangbowen1990@gmail.com
9e13e29402685c189bb7e2f70143f99f661e8a8b
eff22249ecb5206a310e740a6ace3b6e2fc368e2
/ComponentTester.diagram/src/components/diagram/preferences/DiagramGeneralPreferencePage.java
7dac6178979a3033ae388ec2c5ff0052446337cf
[ "MIT" ]
permissive
nagyistge/component-diagram
033be5958a840eb487952d14da8d1ce671704d1b
ec535f3603272219cebd32b67aab71cf48e4193b
refs/heads/master
2021-05-01T20:28:17.824123
2015-09-22T08:16:56
2015-09-22T08:16:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
446
java
package components.diagram.preferences; import org.eclipse.gmf.runtime.diagram.ui.preferences.DiagramsPreferencePage; import components.diagram.part.ComponentModelDiagramEditorPlugin; /** * @generated */ public class DiagramGeneralPreferencePage extends DiagramsPreferencePage { /** * @generated */ public DiagramGeneralPreferencePage() { setPreferenceStore(ComponentModelDiagramEditorPlugin.getInstance().getPreferenceStore()); } }
[ "mail@peterbartha.com" ]
mail@peterbartha.com
d07a9707f25887467ab0f271d61c76f051f0f391
a15dff4dec66dd21827e73c11a63e5ba724d4570
/app/src/main/java/com/electricdroid/renaissance/quanta/constructo/Zenith.java
7cb1fe387d613ac899e4a297f0519c755ce8e495
[]
no_license
ankush38u/Renaissance-15
9839fc5aa5bde752f4fcd21ddf17ac95afbf4272
9876adac7ffc57933e186b16a34d6c88038e732d
refs/heads/master
2016-08-03T02:55:38.443843
2015-05-18T06:14:31
2015-05-18T06:14:31
35,801,200
0
0
null
null
null
null
UTF-8
Java
false
false
2,044
java
package com.electricdroid.renaissance.quanta.constructo; import android.os.Bundle; import android.text.Html; import android.text.SpannableStringBuilder; import com.electricdroid.renaissance.quanta.QuantaEvent; /** * Created by anki on 17-02-2015. */ public class Zenith extends QuantaEvent { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); venue = Html.fromHtml("<b>Venue</b><p>C Block Lawns<br>20th March 2015<br>9:30 AM - 12:30 PM</p>"); coordinatorNames = SpannableStringBuilder.valueOf("Shubham Agarwal\n" + "Shubham Gupta\n" + "Amarjeet Kumar\n" + "Jitendra Tak"); details = Html.fromHtml("<b>Details</b><p>The event here explores the creativity and understandings of structures. <br>" + "In this event the participants have to construct a structure with a roof and floors standing more or less permanently in one place from provided props. </p>"+ "<b>1st Prize:</b>" + "<p>2,500₹</p>" + "<b>2nd Prize:</b>" + "<p>1,500₹</p>"); rules = Html.fromHtml("<b>Rules</b><p>1. The team must not comprise of more than 3 persons.<br>" + "2. The use of props other than provided is prohibited.<br>" + "3. Use of supports is however allowed.<br>" + "4. The winner will be decide on the basis of maximum height, maximum efficiency and material use.<br>" + "5. Cardboard, Newspaper, Fevicol, & Cutter will be provided to each team.</p>"); registration = Html.fromHtml("<b>Registration Fee</b><p>200₹ Per Team</p>"); phn1 = "7790993233"; coordinator1Name = "Shubham Agarwal"; coordinator2Name = "Amarjeet Kumar"; phn2 = "8559937633"; setDetailsText(); //here it needs to b called to update details fragment otw it will b blank,because super class oncreate is called before //even intializing the details spanned text. } }
[ "ankush38u@gmail.com" ]
ankush38u@gmail.com
c6a7272a6fa65fd3fa2be40d62a34ee4ca05d6ed
9343d892089a969a9820828189c97872cbd9585b
/app/src/main/java/com/example/studia/projekt/db/model/User.java
22265af6921a2ac0bb522a8fd0c70238b4c0767a
[]
no_license
Michal230170/Database
7bf93e4b05bf031b75090bbf7b84891118e1be69
91e27af3ba1d5fa4a1ab21e5af3a7cd137fe3cde
refs/heads/master
2020-04-08T08:47:38.078210
2018-11-26T19:44:21
2018-11-26T19:44:21
159,194,395
0
0
null
null
null
null
UTF-8
Java
false
false
944
java
package com.example.studia.projekt.db.model; import android.arch.persistence.room.Entity; import android.arch.persistence.room.Ignore; import android.arch.persistence.room.PrimaryKey; @Entity(tableName = "users") public class User { @PrimaryKey(autoGenerate = true) private int id; private String login; private String password; public User(int id, String login, String password) { this.id = id; this.login = login; this.password = password; } @Ignore public User(String login, String password) { this.login = login; this.password = password; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getLogin() { return login; } public void setLogin(String login) { this.login = login; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } }
[ "37596871+Michal230170@users.noreply.github.com" ]
37596871+Michal230170@users.noreply.github.com
784cf769505dd93f307af4aaa7c341fad6ebec1c
8d9293642d3c12f81cc5f930e0147a9d65bd6efb
/src/main/java/net/minecraft/client/particle/StationaryItemParticle.java
6e4d3b7f5ca75e4e048a35d1211dced22c7ea998
[]
no_license
NicholasBlackburn1/Blackburn-1.17
7c086591ac77cf433af248435026cf9275223daa
fd960b995b33df75ce61865ba119274d9b0e4704
refs/heads/main
2022-07-28T03:27:14.736924
2021-09-23T15:55:53
2021-09-23T15:55:53
399,960,376
5
0
null
null
null
null
UTF-8
Java
false
false
1,925
java
package net.minecraft.client.particle; import net.minecraft.client.Minecraft; import net.minecraft.client.multiplayer.ClientLevel; import net.minecraft.core.particles.SimpleParticleType; import net.minecraft.world.item.Items; import net.minecraft.world.level.ItemLike; import net.minecraft.world.level.block.Blocks; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; @OnlyIn(Dist.CLIENT) public class StationaryItemParticle extends TextureSheetParticle { StationaryItemParticle(ClientLevel p_172356_, double p_172357_, double p_172358_, double p_172359_, ItemLike p_172360_) { super(p_172356_, p_172357_, p_172358_, p_172359_); this.setSprite(Minecraft.getInstance().getItemRenderer().getItemModelShaper().getParticleIcon(p_172360_)); this.gravity = 0.0F; this.lifetime = 80; this.hasPhysics = false; } public ParticleRenderType getRenderType() { return ParticleRenderType.TERRAIN_SHEET; } public float getQuadSize(float p_172363_) { return 0.5F; } @OnlyIn(Dist.CLIENT) public static class BarrierProvider implements ParticleProvider<SimpleParticleType> { public Particle createParticle(SimpleParticleType p_172375_, ClientLevel p_172376_, double p_172377_, double p_172378_, double p_172379_, double p_172380_, double p_172381_, double p_172382_) { return new StationaryItemParticle(p_172376_, p_172377_, p_172378_, p_172379_, Blocks.BARRIER.asItem()); } } @OnlyIn(Dist.CLIENT) public static class LightProvider implements ParticleProvider<SimpleParticleType> { public Particle createParticle(SimpleParticleType p_172394_, ClientLevel p_172395_, double p_172396_, double p_172397_, double p_172398_, double p_172399_, double p_172400_, double p_172401_) { return new StationaryItemParticle(p_172395_, p_172396_, p_172397_, p_172398_, Items.LIGHT); } } }
[ "nickblackburn02@gmail.com" ]
nickblackburn02@gmail.com
6e67f51ccbba4539f2c89780e5bb9210d8787de2
36409e54f56fc31f2b3d302b646cfc40d5da9972
/SQLEvaluator/src/edu/buffalo/cse562/JoinNode.java
5510e773a195424606c0a393ce9f63b490004ef1
[]
no_license
snehaban/SQLEvaluator
abb534534add2e8fcf3859db740343d42f78ae5b
fe6168a16c1064f825b04594335f0602fc556b87
refs/heads/master
2021-01-19T00:16:08.450297
2014-10-01T18:15:08
2014-10-01T18:15:08
24,689,662
0
2
null
null
null
null
UTF-8
Java
false
false
2,729
java
package edu.buffalo.cse562; // JoinNode(R, S): Both R and S can be a pipelined relation stored in memory or a relation stored on disk; // Implement Sort-Merge Join; // IF both R and S are on disk, then do two-pass Sort-Merge Join; (Phase 1: Read R, sort, write sorted sublist; Similar to S; Phase 2: Merge sublists from R and S) // IF R is in memory (small) and S is on disk, 1) sort R in memory, 2) read S, write sorted sublist of S; 3) read sorted sublists of S into memory, merge them with R; // IF both R and S are in memory, sort R and S, then merge them; import java.util.List; import java.util.ArrayList; import net.sf.jsqlparser.expression.Expression; public class JoinNode extends PlanNode.Binary implements Operator { public Expression joinExpression; List<ColumnDef> joinSchema; TableView joinResult = new TableView(); public List<ColumnDef> getSchemaVars() { List<ColumnDef> schema_lhs = this.lhs.getSchemaVars(); List<ColumnDef> schema_rhs = this.rhs.getSchemaVars(); List<ColumnDef> newSchema = new ArrayList<ColumnDef>(); for (int i = 0; i < schema_lhs.size(); i ++) newSchema.add(schema_lhs.get(i)); for (int i = 0; i < schema_rhs.size(); i ++) newSchema.add(schema_rhs.get(i)); return newSchema; } public static JoinNode make(PlanNode lhs, PlanNode rhs){ JoinNode j = new JoinNode(); j.setLHS(lhs); j.setRHS(rhs); j.joinSchema = j.getSchemaVars(); return j; } public static JoinNode make(PlanNode lhs, PlanNode rhs, Expression joinExpression){ JoinNode j = new JoinNode(); j.setLHS(lhs); j.setRHS(rhs); j.joinExpression = joinExpression; j.joinSchema = j.getSchemaVars(); j.reset(); j.getResult(); return j; } public void getResult() { List<ColumnDef> newSchema = getSchemaVars(); Datum[] tuple_lhs = this.lhs.readOneTuple(); while (tuple_lhs != null) { this.rhs.reset(); Datum[] tuple_rhs = this.rhs.readOneTuple(); while (tuple_rhs != null) { Datum[] tuple_com = new Datum[tuple_lhs.length + tuple_rhs.length]; for (int i = 0; i < tuple_lhs.length; i ++) tuple_com[i] = tuple_lhs[i]; for (int i = 0; i < tuple_rhs.length; i ++) tuple_com[i + tuple_lhs.length] = tuple_rhs[i]; Evaluator eval = new Evaluator(tuple_com, newSchema); joinExpression.accept(eval); if (eval.getBool()) { joinResult.addTuple(tuple_com); } //else tuple_rhs = this.rhs.readOneTuple(); } tuple_lhs = this.lhs.readOneTuple(); } //return joinResult; } @Override public Datum[] readOneTuple() { return joinResult.readOneTuple(); } @Override public void reset() { this.lhs.reset(); this.rhs.reset(); } }
[ "sneha.banerjee18@gmail.com" ]
sneha.banerjee18@gmail.com
87c0cdea087b4c76c8270651837215aa22eb0b96
e5f274cae43cc8953b3e4dd3e1d0680181c0772d
/src/com/weather/app/SetCityActivity.java
2f6a2637713c92ff434ef34e3fd4988363241b0b
[]
no_license
14436225/wyweather
755c871a9e7e91b373a094a1e693d019182ae18e
4a0d0abb374584f0db5b2238a7cc33cf4f75ed38
refs/heads/master
2021-01-21T21:00:29.273216
2017-06-19T11:51:57
2017-06-19T11:51:57
94,771,318
0
0
null
null
null
null
UTF-8
Java
false
false
21,428
java
package com.weather.app; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.util.List; import java.util.Map; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import com.weather.comp.GPSListAdapter; import com.weather.comp.MyListAdapter; import com.weather.dao.DBHelper; import com.weather.utils.LocationXMLParser; import com.weather.utils.WeaterInfoParser; import com.weather.utils.WebAccessTools; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.appwidget.AppWidgetManager; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.location.Criteria; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.os.Message; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.BaseExpandableListAdapter; import android.widget.ExpandableListView; import android.widget.ListView; import android.widget.RemoteViews; import android.widget.TextView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ExpandableListView.OnChildClickListener; /** * * @author i-zqluo * 一个设置城市的Activity */ public class SetCityActivity extends Activity { //定义的一个自动定位的列表 private ListView gpsView; //定义的一个省份可伸缩性的列表 private ExpandableListView provinceList; //定义的用于过滤的文本输入框 private TextView filterText; //定义的一个记录城市码的SharedPreferences文件名 public static final String CITY_CODE_FILE="city_code"; //城市的编码 private String[][] cityCodes; //省份 private String[] groups; //对应的城市 private String[][] childs; //自定义的伸缩列表适配器 private MyListAdapter adapter; //记录应用程序widget的ID private int mAppWidgetId = AppWidgetManager.INVALID_APPWIDGET_ID; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.set_city); gpsView = (ListView)findViewById(R.id.gps_view); provinceList= (ExpandableListView)findViewById(R.id.provinceList); //设置自动定位的适配器 gpsView.setAdapter(new GPSListAdapter(SetCityActivity.this)); //==============================GPS================================= //当单击自动定位时 gpsView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { TextView localeCity = (TextView)view.findViewById(R.id.locateCityText); localeCity.setText("正在定位..."); final LocateHandler handler = new LocateHandler(localeCity); //添加一个线程来处理定位 new Thread(){ public void run() { Map<Integer, String> cityMap= getLocationCityInfo(); //记录匹配的城市的索引 int provinceIndex = -1; int cityIndex = -1; //传给处理类的数据封装对象 Bundle bundle = new Bundle(); if(cityMap!=null) { //得到图家名 String country = cityMap.get(LocationXMLParser.COUNTRYNAME); //只匹配中国地区的天气 if(country!=null&&country.equals("中国")){ //得到省 String province = cityMap.get(LocationXMLParser.ADMINISTRATIVEAREANAME); //得到市 String city = cityMap.get(LocationXMLParser.LOCALITYNAME); //得到区县 String towns = cityMap.get(LocationXMLParser.DEPENDENTLOCALITYNAME); Log.i("GPS", "============"+province+"."+city+"."+towns+"=============="); //将GPS定位的城市与提供能查天气的城市进行匹配 StringBuilder matchCity = new StringBuilder(city); matchCity.append("."); matchCity.append(towns); //找到省份 for(int i=0; i<groups.length; i++) { if(groups[i].equals(province)) { provinceIndex = i; break; } } //先从区县开始查找匹配的地区 for(int j=0; j<childs[provinceIndex].length; j++) { if(childs[provinceIndex][j].equals(matchCity.toString())) { cityIndex = j; break; } } //如果未匹配成功,则换为从城市中查找 if(cityIndex == -1) { for(int j=0; j<childs[provinceIndex].length; j++) { if(childs[provinceIndex][j].equals(city)) { cityIndex = j; //匹配成功,则退出循环 break; } } } } } //将其用bundle封装,用于传给Handler bundle.putInt("provinceIndex", provinceIndex); bundle.putInt("cityIndex", cityIndex); Message msg = new Message(); msg.setData(bundle); //正式交由handler处理 handler.sendMessage(msg); } }.start(); } }); //为过滤输入文本框添加事件 filterText = (TextView) findViewById(R.id.filterField); filterText.addTextChangedListener(new TextWatcher() { @Override public void afterTextChanged(Editable s) { CharSequence filterContent = filterText.getText(); //设置列表数据过滤结果显示 adapter.getFilter().filter(filterContent); } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { } }); //得到MainActivity或Widget传过来的intent Intent intent =getIntent(); //通过判断MainActivity传过来的isFirstRun来确定是否为第一次运行 boolean isFirstRun = intent.getBooleanExtra("isFirstRun", false); //通过接收Bundle来判断Widget中传递过来的WidgetId Bundle extras = intent.getExtras(); if (extras != null) { mAppWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID); //如果WidgetId有效 if(mAppWidgetId!=AppWidgetManager.INVALID_APPWIDGET_ID) { //判断它是否是第一次运行 SharedPreferences sp=getSharedPreferences(CITY_CODE_FILE, MODE_PRIVATE); if(sp.getString("code", null)==null) { //如果不存在城市码,则说明为第一次运行 isFirstRun = true; } else { //如存在则直接跳回 AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(SetCityActivity.this); RemoteViews views = new RemoteViews(SetCityActivity.this.getPackageName(), R.layout.widget_layout); //得到城市码 String cityCode= sp.getString("code", ""); if(cityCode!=null&&cityCode.trim().length() > 0) { Log.i("widget", "===================update weather==========================="); //更新widget WeatherWidget.updateAppWidget(views, SetCityActivity.this, appWidgetManager, cityCode); } appWidgetManager.updateAppWidget(mAppWidgetId, views); //设置成功,返回 Intent resultValue = new Intent(); resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); setResult(RESULT_OK, resultValue); //结束当前的Activity finish(); return; } } } //如果为true说明是第一次运行 if(isFirstRun) { //导入城市编码数据库 importInitDatabase(); //显示一个对话框说明为第一次运行 AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage("由于本程序是第一次运行,请选择您需要了解天气的城市").setPositiveButton("确定", null); AlertDialog dialog = builder.create(); dialog.show(); } //增强用户体验,在加载城市列表时显示进度对话框 final ProgressDialog dialog = getProgressDialog("", "正在加载城市列表..."); dialog.show(); //伸缩性列表的加载处理类 final MyHandler mHandler = new MyHandler(); new Thread(new Runnable() { public void run() { //查询处理数据库,装载伸展列表 DBHelper dbHelper = new DBHelper(SetCityActivity.this, "db_weather.db"); groups = dbHelper.getAllProvinces(); List<String[][]> result = dbHelper.getAllCityAndCode(groups); childs = result.get(0); cityCodes = result.get(1); //交给Handler对象加载列表 Message msg = new Message(); mHandler.sendMessage(msg); dialog.cancel(); dialog.dismiss(); } }).start(); } //将res/raw中的城市数据库导入到安装的程序中的database目录下 public void importInitDatabase() { //数据库的目录 String dirPath="/data/data/com.weather.app/databases"; File dir = new File(dirPath); if(!dir.exists()) { dir.mkdir(); } //数据库文件 File dbfile = new File(dir, "db_weather.db"); try { if(!dbfile.exists()) { dbfile.createNewFile(); } //加载欲导入的数据库 InputStream is = this.getApplicationContext().getResources().openRawResource(R.raw.db_weather); FileOutputStream fos = new FileOutputStream(dbfile); byte[] buffere=new byte[is.available()]; is.read(buffere); fos.write(buffere); is.close(); fos.close(); }catch(FileNotFoundException e){ e.printStackTrace(); }catch(IOException e) { e.printStackTrace(); } } //得到一个进度对话框 public ProgressDialog getProgressDialog(String title, String content) { //实例化进度条对话框ProgressDialog ProgressDialog dialog=new ProgressDialog(this); //可以不显示标题 dialog.setTitle(title); dialog.setIndeterminate(true); dialog.setMessage(content); dialog.setCancelable(true); return dialog; } //利用GPS功能得到当前位置的城市名 public synchronized Map<Integer, String> getLocationCityInfo() { LocationManager locationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); //设置一个Criteria标准用于过滤LocationProvider Criteria criteria = new Criteria(); //设置不需要高度信息 criteria.setAltitudeRequired(false); //设置不需要方位信息 criteria.setBearingRequired(false); //设置得到的为免费 //criteria.setCostAllowed(false); //得到最好的可用的Provider String provider = locationManager.getBestProvider(criteria, true); //得到当前的位置对象 Location location = locationManager.getLastKnownLocation(provider); if(location!=null) { double latitude = location.getLatitude(); //得到经度 double longitude = location.getLongitude(); //得到纬度 //根据经纬度得到详细的地址信息 //定义的一个网络访问工具类 WebAccessTools webTools = new WebAccessTools(this); String addressContext = webTools.getWebContent("http://maps.google.cn/maps/geo?output=xml&q="+latitude+","+longitude); //解析地址信息 SAXParserFactory spf = SAXParserFactory.newInstance(); try { SAXParser parser = spf.newSAXParser(); XMLReader reader = parser.getXMLReader(); LocationXMLParser handler = new LocationXMLParser(); reader.setContentHandler(handler); StringReader read = new StringReader(addressContext); // 创建新的输入源SAX 解析器将使用 InputSource 对象来确定如何读取 XML 输入 InputSource source = new InputSource(read); //开始解析 reader.parse(source); //判断是否存在地址 if(handler.hasAddress()) return handler.getDetailAddress(); } catch (ParserConfigurationException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } return null; } public void tempMethod() { //==================================for test========================================== WebAccessTools webTools = new WebAccessTools(this); //得到访问网络的内容 String webContent=webTools.getWebContent("http://m.weather.com.cn/data5/city.xml"); //第一次解析得到的为省份或一级直辖市 String[][] provinces = WeaterInfoParser.parseCity(webContent); String[] groups = new String[provinces.length]; String[][] childs = new String[provinces.length][]; String[][] cityCode = new String[provinces.length][]; for(int i=0; i< provinces.length; i++) { groups[i] = provinces[i][1]; //由省份码来得到城市码 StringBuffer urlBuilder= new StringBuffer("http://m.weather.com.cn/data5/city"); urlBuilder.append(provinces[i][0]); urlBuilder.append(".xml"); webContent = webTools.getWebContent(urlBuilder.toString()); String[][] citys = WeaterInfoParser.parseCity(webContent); //用于保存所的有towns String[][][] towns = new String[citys.length][][]; //计算总的城镇数 int sum=0; for(int j=0; j<citys.length; j++) { //由城市码来得到地方码 urlBuilder= new StringBuffer("http://m.weather.com.cn/data5/city"); urlBuilder.append(citys[j][0]); urlBuilder.append(".xml"); webContent = webTools.getWebContent(urlBuilder.toString()); towns[j] = WeaterInfoParser.parseCity(webContent); sum = sum + towns[j].length; } childs[i] = new String[sum]; cityCode[i] = new String[sum]; sum=0; for(int j=0; j<citys.length; j++) { for(int n=0; n<towns[j].length; n++) { if(n==0) childs[i][sum] = towns[j][n][1]; else childs[i][sum] = towns[j][0][1] + "." + towns[j][n][1]; urlBuilder= new StringBuffer("http://m.weather.com.cn/data5/city"); urlBuilder.append(towns[j][n][0]); urlBuilder.append(".xml"); webContent = webTools.getWebContent(urlBuilder.toString()); String[][] code=WeaterInfoParser.parseCity(webContent); cityCode[i][sum] = code[0][1]; sum = sum + 1; } } urlBuilder=null; } BaseExpandableListAdapter adapter=new MyListAdapter(this, provinceList, groups, childs); provinceList.setAdapter(adapter); //============================Create Database================================ //打开或创建一个数据库 String path="/data"+ Environment.getDataDirectory().getAbsolutePath() + "/com.weather.app/db_weather.db"; SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase (path, null); //创建一个省份表 String sql="create table provinces (_id integer primary key autoincrement, name text)"; database.execSQL(sql); //创建城市表 sql = "create table citys (_id integer primary key autoincrement, province_id integer, name text, city_num text)"; database.execSQL(sql); //插入省份数据 ContentValues cv = null; for(int i=0; i<provinces.length; i++) { cv = new ContentValues(); cv.put("name", provinces[i][1]); database.insert("provinces", null, cv); } //插入城市数据 for(int i=0; i<childs.length; i++) { for(int j=0; j<childs[i].length; j++) { cv = new ContentValues(); cv.put("province_id", i); cv.put("name", childs[i][j]); cv.put("city_num", cityCode[i][j]); database.insert("citys", null, cv); } } cv = null; database.close(); } //用于处理装载伸缩性列表的处理类 private class MyHandler extends Handler { @Override public void handleMessage(Message msg) { super.handleMessage(msg); //在伸缩性的列表中显示数据库中的省份与城市 adapter=new MyListAdapter(SetCityActivity.this, provinceList, groups, childs); provinceList.setAdapter(adapter); //为其子列表选项添加单击事件 provinceList.setOnChildClickListener(new OnChildClickListener() { @Override public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { //自动跳至天气的显示界面MainActivity //========得到单击的城市码======= //得到城市名 String cityName = (String)adapter.getChild(groupPosition, childPosition); //从数据库中得到城市码 DBHelper dbHelper = new DBHelper(SetCityActivity.this, "db_weather.db"); String cityCode = dbHelper.getCityCodeByName(cityName); Dialog dialog = getProgressDialog("", "正在加载天气..."); dialog.show(); GoToMainActivity thread = new GoToMainActivity(cityCode, dialog); thread.start(); return false; } }); } } //用于处理用户的定位信息 private class LocateHandler extends Handler { //记录定位的文本视图组件 private TextView textView; public LocateHandler(TextView textView) { this.textView = textView; } @Override public void handleMessage(Message msg) { Bundle data = msg.getData(); int provinceIndex = data.getInt("provinceIndex"); int cityIndex = data.getInt("cityIndex"); //判断定位匹配是否成功 if(provinceIndex >=0 && provinceIndex < groups.length && cityIndex >=0 && cityIndex < childs[provinceIndex].length) { //显示定位的城市 textView.setText(childs[provinceIndex][cityIndex]); //自动跳至天气的显示界面MainActivity Dialog dialog = getProgressDialog("", "正在加载天气..."); dialog.show(); GoToMainActivity thread = new GoToMainActivity(cityCodes[provinceIndex][cityIndex], dialog); thread.start(); } else { textView.setText("定位失败!"); } } } //处理用户选择好城市后的跳转到MainActivity private class GoToMainActivity extends Thread { //保证跳转的城市码 private String cityCode; //跳转后显示的进度对话框 private Dialog dialog; public GoToMainActivity(String cityCode, Dialog dialog) { this.cityCode = cityCode; this.dialog = dialog; } public void run() { //得到一个私有的SharedPreferences文件编辑对象 SharedPreferences.Editor edit = getSharedPreferences(CITY_CODE_FILE, MODE_PRIVATE).edit(); //将城市码保存 edit.putString("code", cityCode); edit.commit(); //通过判断得到的widgetId是否有效来判断是跳转到MainActivity或Widget if(mAppWidgetId==AppWidgetManager.INVALID_APPWIDGET_ID) { //设置成功回退到天气情况显示Activity Intent intent = getIntent(); //当用户单击了城市返回,传入一个变量用于区分,是读存储文件天气,还是更新 intent.putExtra("updateWeather", true); SetCityActivity.this.setResult(0, intent); } else { //当有效则跳至widget AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(SetCityActivity.this); RemoteViews views = new RemoteViews(SetCityActivity.this.getPackageName(), R.layout.widget_layout); //更新widget Log.i("widget", "===================update weather==========================="); //更新widget WeatherWidget.updateAppWidget(views, SetCityActivity.this, appWidgetManager, cityCode); appWidgetManager.updateAppWidget(mAppWidgetId, views); //设置成功,返回 Intent resultValue = new Intent(); resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); setResult(RESULT_OK, resultValue); } SetCityActivity.this.finish(); dialog.cancel(); dialog.dismiss(); } } }
[ "519606284@qq.com" ]
519606284@qq.com
6701229053c6b01c5304ff7efd4388788378a248
7f871ec4253f31c1dbec7f6a452f90a0add9ec33
/src/vistas/frmConductores.java
e8e3741832f3abfa12762f09f9852e79da72bba7
[]
no_license
frankCashabamba/proyecto.Uster
c602917aff2ad480580cab03cbe7d29e13bd8296
b7f574ba28b0a531ae6882268c1f9a81f665e830
refs/heads/master
2020-08-28T06:29:01.632107
2019-10-25T22:21:01
2019-10-25T22:21:01
217,621,725
1
0
null
null
null
null
UTF-8
Java
false
false
11,755
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package vistas; /** * * @author Frank */ public class frmConductores extends javax.swing.JFrame { /** * Creates new form frmConductores */ public frmConductores() { initComponents(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); txtNombre = new javax.swing.JTextField(); txtApellidos = new javax.swing.JTextField(); txtLicenciaC = new javax.swing.JTextField(); btnGuardarC = new javax.swing.JButton(); btnModificarC = new javax.swing.JButton(); btnEliminar = new javax.swing.JButton(); btnLimpiarC = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); tbConductores = new javax.swing.JTable(); txtId = new javax.swing.JTextField(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); jLabel1.setText("Nombre"); jLabel2.setText("Apellido"); jLabel3.setText("Licencia"); txtNombre.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { txtNombreActionPerformed(evt); } }); txtApellidos.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { txtApellidosActionPerformed(evt); } }); btnGuardarC.setText("Guardar"); btnGuardarC.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnGuardarCActionPerformed(evt); } }); btnModificarC.setText("Modificar"); btnEliminar.setText("Eliminar"); btnLimpiarC.setText("Limpiar"); tbConductores.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { }, new String [] { "ID", "Nombre", "Apellidos", "Licencia" } )); tbConductores.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { tbConductoresMouseClicked(evt); } }); jScrollPane1.setViewportView(tbConductores); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(22, 22, 22) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2) .addComponent(jLabel3)) .addGap(167, 167, 167) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(txtLicenciaC, javax.swing.GroupLayout.DEFAULT_SIZE, 81, Short.MAX_VALUE) .addComponent(txtNombre) .addComponent(txtApellidos))) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(btnGuardarC) .addGap(34, 34, 34) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(txtId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createSequentialGroup() .addComponent(btnModificarC) .addGap(18, 18, 18) .addComponent(btnEliminar) .addGap(18, 18, 18) .addComponent(btnLimpiarC))))) .addGap(18, 18, 18) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 452, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addGroup(layout.createSequentialGroup() .addContainerGap() .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 266, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup() .addGap(24, 24, 24) .addComponent(txtId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1) .addComponent(txtNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(32, 32, 32) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel2) .addComponent(txtApellidos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(36, 36, 36) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(txtLicenciaC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(43, 43, 43) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(btnGuardarC) .addComponent(btnModificarC) .addComponent(btnEliminar) .addComponent(btnLimpiarC)))) .addContainerGap(14, Short.MAX_VALUE)) ); pack(); }// </editor-fold>//GEN-END:initComponents private void txtNombreActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNombreActionPerformed // TODO add your handling code here: }//GEN-LAST:event_txtNombreActionPerformed private void txtApellidosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtApellidosActionPerformed // TODO add your handling code here: }//GEN-LAST:event_txtApellidosActionPerformed private void btnGuardarCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarCActionPerformed // TODO add your handling code here: }//GEN-LAST:event_btnGuardarCActionPerformed private void tbConductoresMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbConductoresMouseClicked int selec = tbConductores.rowAtPoint(evt.getPoint()); int id = Integer.parseInt((String) tbConductores.getValueAt(selec, 0).toString()); String nombre = (String) tbConductores.getValueAt(selec, 1); String apellidos = (String) tbConductores.getValueAt(selec, 2); String licence = (String) tbConductores.getValueAt(selec, 3); txtId.setText("" + id); txtNombre.setText(nombre); txtApellidos.setText(apellidos); txtLicenciaC.setText(licence); btnGuardarC.setEnabled(false); }//GEN-LAST:event_tbConductoresMouseClicked /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException ex) { java.util.logging.Logger.getLogger(frmConductores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(frmConductores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(frmConductores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(frmConductores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } //</editor-fold> /* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new frmConductores().setVisible(true); } }); } // Variables declaration - do not modify//GEN-BEGIN:variables public javax.swing.JButton btnEliminar; public javax.swing.JButton btnGuardarC; public javax.swing.JButton btnLimpiarC; public javax.swing.JButton btnModificarC; private javax.swing.JLabel jLabel1; private javax.swing.JLabel jLabel2; private javax.swing.JLabel jLabel3; private javax.swing.JScrollPane jScrollPane1; public javax.swing.JTable tbConductores; public javax.swing.JTextField txtApellidos; public javax.swing.JTextField txtId; public javax.swing.JTextField txtLicenciaC; public javax.swing.JTextField txtNombre; // End of variables declaration//GEN-END:variables }
[ "Frank@Frank" ]
Frank@Frank
835f3b9c58ba7fc71907ae072a772dbea6686121
8f95cc24f8acba863e9b84dc82a4548ba3e0b58a
/src/main/java/com/uninpahu/entity/TipoDocumento.java
30e62db1a17c94d0e2b7c22881c6193b4c6563ee
[]
no_license
jefersonPedraza2020/procesoIntercambio
2a44154504cd1455fc4701737484fc24120a86d7
487949c0c4c639187b7c9bb029c379b35c9ef121
refs/heads/main
2023-03-30T03:01:44.788897
2021-04-03T21:04:38
2021-04-03T21:04:38
353,179,293
0
0
null
null
null
null
UTF-8
Java
false
false
978
java
package com.uninpahu.entity; import java.io.Serializable; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToMany; import com.fasterxml.jackson.annotation.JsonManagedReference; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor @Entity public class TipoDocumento implements Serializable{ /** * */ private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int tipoDocumentoId; private String descripcion; private String sigla; @JsonManagedReference @OneToMany (cascade = CascadeType.ALL) @JoinColumn(name = "idTipoDocumento", referencedColumnName = "tipoDocumentoId") private List<Usuario> usuario; }
[ "jeferson.pedrazaamtel.co" ]
jeferson.pedrazaamtel.co
0af4331a14dd866a1d25e5eeea293fd7a7447f5c
0544c44d233b3df01fe6cd74e930948f946ca7c6
/ribbon-transport/src/test/java/com/netflix/ribbon/transport/netty/http/TestExecutionListener.java
c2749bb20011228be70dec90937852021be51147
[]
no_license
peizihui/ribbon-source-learn-day-by-day
754925ad9d2378666f3c6096355aec76770f8bbd
c469811bad48285ba7800e18ff20d95fa869e73d
refs/heads/master
2022-08-21T01:41:36.544744
2020-05-24T07:21:48
2020-05-24T07:21:48
266,454,864
0
0
null
null
null
null
UTF-8
Java
false
false
6,202
java
package com.netflix.ribbon.transport.netty.http; import com.netflix.client.config.IClientConfig; import com.netflix.loadbalancer.Server; import com.netflix.loadbalancer.reactive.ExecutionContext; import com.netflix.loadbalancer.reactive.ExecutionInfo; import com.netflix.loadbalancer.reactive.ExecutionListener; import io.netty.buffer.ByteBuf; import io.reactivex.netty.protocol.http.client.HttpClientRequest; import io.reactivex.netty.protocol.http.client.HttpClientResponse; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; /** * @author Allen Wang */ public class TestExecutionListener<I, O> implements ExecutionListener<HttpClientRequest<I>, HttpClientResponse<O>> { public AtomicInteger executionStartCounter = new AtomicInteger(0); public AtomicInteger startWithServerCounter = new AtomicInteger(0); public AtomicInteger exceptionWithServerCounter = new AtomicInteger(0); public AtomicInteger executionFailedCounter = new AtomicInteger(0); public AtomicInteger executionSuccessCounter = new AtomicInteger(0); private HttpClientRequest<ByteBuf> expectedRequest; private IClientConfig requestConfig; private volatile boolean checkContext = true; private volatile boolean checkExecutionInfo = true; private volatile Throwable finalThrowable; private HttpClientResponse<O> response; private List<Throwable> errors = new CopyOnWriteArrayList<Throwable>(); private AtomicInteger numAttemptsOnServer = new AtomicInteger(); private AtomicInteger numServers = new AtomicInteger(); private volatile Server lastServer; private static final Integer MY_OBJECT = Integer.valueOf(9); private volatile ExecutionContext<HttpClientRequest<I>> context; public TestExecutionListener(HttpClientRequest<ByteBuf> expectedRequest, IClientConfig requestConfig) { this.expectedRequest = expectedRequest; this.requestConfig = requestConfig; } private void checkContext(ExecutionContext<HttpClientRequest<I>> context) { try { assertSame(requestConfig, context.getRequestConfig()); assertSame(expectedRequest, context.getRequest()); assertEquals(MY_OBJECT, context.get("MyObject")); if (this.context == null) { this.context = context; } else { assertSame(this.context, context); } } catch (Throwable e) { e.printStackTrace(); checkContext = false; } } private void checkExecutionInfo(ExecutionInfo info) { try { assertEquals(numAttemptsOnServer.get(), info.getNumberOfPastAttemptsOnServer()); assertEquals(numServers.get(), info.getNumberOfPastServersAttempted()); } catch (Throwable e) { e.printStackTrace(); checkExecutionInfo = false; } } @Override public void onExecutionStart(ExecutionContext<HttpClientRequest<I>> context) { context.put("MyObject", MY_OBJECT); checkContext(context); executionStartCounter.incrementAndGet(); } @Override public void onStartWithServer(ExecutionContext<HttpClientRequest<I>> context, ExecutionInfo info) { checkContext(context); if (lastServer == null) { lastServer = info.getServer(); } else if (!lastServer.equals(info.getServer())) { lastServer = info.getServer(); numAttemptsOnServer.set(0); numServers.incrementAndGet(); } checkExecutionInfo(info); startWithServerCounter.incrementAndGet(); } @Override public void onExceptionWithServer(ExecutionContext<HttpClientRequest<I>> context, Throwable exception, ExecutionInfo info) { checkContext(context); checkExecutionInfo(info); numAttemptsOnServer.incrementAndGet(); errors.add(exception); exceptionWithServerCounter.incrementAndGet(); } @Override public void onExecutionSuccess(ExecutionContext<HttpClientRequest<I>> context, HttpClientResponse<O> response, ExecutionInfo info) { checkContext(context); checkExecutionInfo(info); this.response = response; executionSuccessCounter.incrementAndGet(); } @Override public void onExecutionFailed(ExecutionContext<HttpClientRequest<I>> context, Throwable finalException, ExecutionInfo info) { checkContext(context); checkExecutionInfo(info); executionFailedCounter.incrementAndGet(); finalThrowable = finalException; } public boolean isContextChecked() { return checkContext; } public boolean isCheckExecutionInfo() { return checkExecutionInfo; } public Throwable getFinalThrowable() { return finalThrowable; } public HttpClientResponse<O> getResponse() { return response; } public ExecutionContext<HttpClientRequest<I>> getContext() { return this.context; } @Override public String toString() { return "TestExecutionListener{" + "executionStartCounter=" + executionStartCounter + ", startWithServerCounter=" + startWithServerCounter + ", exceptionWithServerCounter=" + exceptionWithServerCounter + ", executionFailedCounter=" + executionFailedCounter + ", executionSuccessCounter=" + executionSuccessCounter + ", expectedRequest=" + expectedRequest + ", requestConfig=" + requestConfig + ", checkContext=" + checkContext + ", checkExecutionInfo=" + checkExecutionInfo + ", finalThrowable=" + finalThrowable + ", response=" + response + ", errors=" + errors + ", numAttemptsOnServer=" + numAttemptsOnServer + ", numServers=" + numServers + ", lastServer=" + lastServer + ", context=" + context + '}'; } }
[ "peizihui@163.com" ]
peizihui@163.com
3c18ce0f2fedb8a9a6d0428dd96eb21d6074d6f9
277b144c2b4dfc1097097b110a8ed80be7448b59
/src/main/java/com/memorize/conf/JPAConfig.java
f6fd7f0aeb1b9b6bd6a096e5289175e6c4f46485
[]
no_license
memorizeit/memorize
4d396321624fa33944f9eb3f01afece1262f668f
28fe530f2367eb8085590fcef6f21e4655aa12d2
refs/heads/master
2022-12-24T10:50:36.885133
2020-07-04T16:28:19
2020-07-04T16:28:19
205,618,411
3
0
null
2022-12-16T15:23:52
2019-09-01T02:15:00
Java
UTF-8
Java
false
false
2,251
java
package com.memorize.conf; import java.util.Properties; import javax.persistence.EntityManagerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.core.env.Environment; import org.springframework.jdbc.datasource.DriverManagerDataSource; import org.springframework.orm.jpa.JpaTransactionManager; import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean; import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter; import org.springframework.transaction.annotation.EnableTransactionManagement; @EnableTransactionManagement public class JPAConfig { @Autowired private Environment env; private DataSourceWrapper dataSourceWrapper = new DataSourceWrapper("local"); @Bean public LocalContainerEntityManagerFactoryBean entityManagerFactory() { LocalContainerEntityManagerFactoryBean factoryBean = new LocalContainerEntityManagerFactoryBean(); factoryBean.setDataSource(this.getDataSource()); factoryBean.setJpaProperties(this.getJpaProperties()); factoryBean.setPackagesToScan("com.memorize.modules"); factoryBean.setJpaVendorAdapter(new HibernateJpaVendorAdapter()); return factoryBean; } @Bean public JpaTransactionManager transactionManager(EntityManagerFactory emf) { return new JpaTransactionManager(emf); } private DriverManagerDataSource getDataSource() { DriverManagerDataSource dataSource = new DriverManagerDataSource(); dataSource.setUsername( env.getProperty( dataSourceWrapper.getStringUserValue() ) ); dataSource.setDriverClassName( env.getProperty( dataSourceWrapper.getStringDriverValue() ) ); dataSource.setPassword( env.getProperty( dataSourceWrapper.getStringPasswordValue() ) ); dataSource.setUrl( env.getProperty( dataSourceWrapper.getStringUrlValue() ) ); return dataSource; } private Properties getJpaProperties() { Properties properties = new Properties(); properties.put("hibernate.dialect", env.getProperty(dataSourceWrapper.getStringDialectValue()) ); properties.put("hibernate.show_sql", "true"); properties.put("hibernate.format_sql", "true"); properties.put("hibernate.hbm2ddl.auto", "update"); return properties; } }
[ "cledersonbc@live.com" ]
cledersonbc@live.com
df645fc7dff6549b56d179e2bef7b4cf2abb3699
7879c58d6ef50d01f105e583837b9a24bc1ed03f
/HttpCore/src/main/java/core/SkyDriveApiExample.java
0045e974aeae88b99ec16594a6d9409ae9bb1fc1
[]
no_license
cuongdn/dasa_project
8498011266a14608a1a20ffefddd040795ba116d
0acff4db3ecd893127200ae3149adce98352561a
refs/heads/master
2021-01-10T18:07:15.244751
2014-03-05T07:13:56
2014-03-05T07:13:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,676
java
package core; import core.api.SkyDriveApi; import java.io.IOException; import java.util.Scanner; import org.scribe.builder.ServiceBuilder; import org.scribe.model.OAuthRequest; import org.scribe.model.Response; import org.scribe.model.Token; import org.scribe.model.Verb; import org.scribe.model.Verifier; import org.scribe.oauth.OAuthService; /** * Hello world! * */ public class SkyDriveApiExample { private static final String NETWORK_NAME = "Drive"; private static final String PROTECTED_RESOURCE_URL = "https://www.googleapis.com/drive/v2/files"; private static final Token EMPTY_TOKEN = null; public static void main(String[] args) throws IOException { String CLIENT_ID = "0000000044112D7F"; String CLIENT_SECRET = "ir3jr475dDjndfi6kYhkIlWEeaxiW8tA"; String REDIRECT_URI = "https://login.live.com/oauth20_desktop.srf"; OAuthService service = new ServiceBuilder() .provider(SkyDriveApi.class) .apiKey(CLIENT_ID) .apiSecret(CLIENT_SECRET) .scope("wl.skydrive") .callback(REDIRECT_URI) .build(); Scanner in = new Scanner(System.in); System.out.println("=== " + NETWORK_NAME + "'s OAuth Workflow ==="); System.out.println(); // Obtain the Request Token System.out.println("Fetching the Request Token..."); String authorizationUrl = service.getAuthorizationUrl(EMPTY_TOKEN); System.out.println("Got the Authorization URL!"); System.out.println(authorizationUrl); System.out.println("And paste the verifier here"); System.out.print(">>"); Verifier verifier = new Verifier(in.nextLine()); System.out.println(); Token accessToken = service.getAccessToken(EMPTY_TOKEN, verifier); System.out.println("Got the Access Token!"); System.out.println("(if your curious it looks like this: " + accessToken + " )"); System.out.println(); // Now let's go and ask for a protected resource! System.out.println("Now we're going to access a protected resource..."); OAuthRequest request = new OAuthRequest(Verb.GET, PROTECTED_RESOURCE_URL); // request.addQuerystringParameter("method", "flickr.test.login"); service.signRequest(accessToken, request); Response response = request.send(); System.out.println("Got it! Lets see what we found..."); System.out.println(); System.out.println(response.getBody()); System.out.println(); System.out.println("Thats it man! Go and build something awesome with Scribe! :)"); } }
[ "dnc.dlu@gmail.com" ]
dnc.dlu@gmail.com
160cd6aac80f05aad349364de5c691588370324d
5877b67d3774feb4948a48029cc4ac817ee05ee7
/src/com/action/AgreeIn.java
c0d5692970557ab5fbe0d24b0007b3544ec2a873
[]
no_license
kuirons/dormitory
644df501fb3f488540a3c5bc50d1b8157fa77ced
c84e846e20cb2ade20145173d24e1d677b9c25e7
refs/heads/master
2021-01-21T07:07:20.803842
2017-06-14T13:03:30
2017-06-14T13:03:30
88,728,616
0
0
null
null
null
null
UTF-8
Java
false
false
3,948
java
package com.action; import com.bean.BuildingBean; import com.bean.MessageBean; import com.bean.StudentBean; import com.bean.UserBean; import com.dao.BuildingDao; import com.dao.MessageDao; import com.dao.RequestDao; import com.dao.StudentDao; import net.sf.json.JSON; import net.sf.json.JSONObject; import org.apache.struts2.ServletActionContext; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.PrintWriter; /** * Created by Admin on 2017/6/7. */ public class AgreeIn { private String id; private String buildingandroom; public String getBuildingandroom() { return buildingandroom; } public void setBuildingandroom(String buildingandroom) { this.buildingandroom = buildingandroom; } public String getId() { return id; } public void setId(String id) { this.id = id; } public void execute() throws Exception{ HttpSession session=ServletActionContext.getRequest().getSession(); //用于通知学生处理结果的message //处理参数中的<p>标签 id=id.replace("<p>",""); id=id.replace("</p>",""); buildingandroom=buildingandroom.replaceAll("<p>",""); buildingandroom=buildingandroom.replaceAll("</p>",""); StudentBean student=new StudentDao().getStudentInfoById(id); MessageBean message=new MessageBean(); //放入基本信息 message.setM_From(((UserBean)session.getAttribute("userinfo")).getUsername()); message.setM_To(student.getS_Name()); JSONObject json=new JSONObject(); HttpServletResponse response= ServletActionContext.getResponse(); response.setContentType("text/html;charset=UTF-8"); PrintWriter writer=response.getWriter(); //判断用户申请的寝室是否还可以加入人 BuildingBean buildingBean=new BuildingDao().searchRoomInfoByBuildingAndRoom(buildingandroom); int allownum=Integer.parseInt(buildingBean.getB_Allownum()); if(allownum>0){ //可以加入先修改原来寝室的信息 BuildingBean building=new BuildingDao().searchRoomInfoByBuildingAndRoom(buildingandroom); building.setB_Allownum(String.valueOf(Integer.parseInt(building.getB_Allownum())+1)); building.setB_Takenin(String.valueOf(Integer.parseInt(building.getB_Takenin())-1)); new BuildingDao().inChangeRoomInfo(building); //然后修改新寝室的信息 buildingBean.setB_Takenin(String.valueOf(Integer.parseInt(buildingBean.getB_Takenin())+1)); buildingBean.setB_Allownum(String.valueOf(Integer.parseInt(buildingBean.getB_Allownum())-1)); new BuildingDao().inChangeRoomInfo(buildingBean); //然后修改学生的信息 student.setS_Building(buildingandroom.split("-")[0]); student.setS_Room(buildingandroom.split("-")[1]); new StudentDao().changeStudentRoomInfo(student); //返回结果成功 json.put("message","迁入成功"); //发送成功消息 message.setM_Theme("请求成功"); message.setM_Content("您的请求已获批准,可搬入申请的寝室"); message.setM_Flag("1"); new MessageDao().addMessage(message); } else{ json.put("message","寝室人数已满,无法迁入"); message.setM_Theme("请求成功,但请求寝室已满"); message.setM_Content("您的请求已获批准,但是请求寝室人数已满,无法迁入"); message.setM_Flag("2"); new MessageDao().addMessage(message); } //然后将该申请的状态改为已处理 new RequestDao().inChangeThisRequestStatus(id,buildingandroom); writer.write(json.toString()); writer.flush(); writer.close(); } }
[ "wugyu@outlook.com" ]
wugyu@outlook.com
6ad5006b3b2057092041854166dea5a2ae699bc8
2adbe32ec6a85110490f4dbda20c32497740c0c6
/titus-api/src/main/java/com/netflix/titus/api/model/TokenBucketRefillPolicy.java
cf86ac4a750e842f6425aec328f438fc3e4eb147
[ "Apache-2.0" ]
permissive
DEXTERNATAN/titus-control-plane
970b2ac405e45c9a43a343e08ac020b1de7c8393
1490002fcc771428543e829934d5582e7396629c
refs/heads/master
2020-03-31T01:04:11.503371
2018-10-03T22:39:55
2018-10-03T22:39:55
null
0
0
null
null
null
null
UTF-8
Java
false
false
88
java
package com.netflix.titus.api.model; public abstract class TokenBucketRefillPolicy { }
[ "noreply@github.com" ]
noreply@github.com
a6d5fe1dab7656344814f3f5aadaef36aad0f2c6
f998b525b5994226cbab4a9acab466efe75139c8
/World of Chaos/src/org/apache/mina/common/IoSession.java
b48c4682c5afad10ef43524eb9f62776fb61e3e3
[]
no_license
Legocro/Darkdome-java
2925abcd0b71e5c63255d09ad93a93a60dc96397
1199b47b84186b9c0e73c66f21976b91b33e1eb1
refs/heads/master
2021-04-09T13:41:32.048028
2018-03-28T19:40:17
2018-03-28T19:40:17
125,577,384
0
0
null
null
null
null
UTF-8
Java
false
false
10,380
java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * */ package org.apache.mina.common; import java.net.SocketAddress; import java.util.Set; /** * A handle which represents connection between two endpoints regardless of * transport types. * <p> * {@link IoSession} provides user-defined attributes. User-defined attributes * are application-specific data which is associated with a session. * It often contains objects that represents the state of a higher-level protocol * and becomes a way to exchange data between filters and handlers. * * <h3>Adjusting Transport Type Specific Properties</h3> * <p> * You can simply downcast the session to an appropriate subclass. * </p> * * <h3>Thread Safety</h3> * <p> * {@link IoSession} is thread-safe. But please note that performing * more than one {@link #write(Object)} calls at the same time will * cause the {@link IoFilter#filterWrite(IoFilter.NextFilter, IoSession, IoFilter.WriteRequest)} * is executed simnutaneously, and therefore you have to make sure the * {@link IoFilter} implementations you're using are thread-safe, too. * </p> * * @author The Apache Directory Project (mina-dev@directory.apache.org) * @version $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (금, 13 7월 2007) $ */ public interface IoSession { /** * Returns the {@link IoService} which provides I/O service to this session. */ IoService getService(); /** * Returns the {@link IoServiceConfig} of this session. */ IoServiceConfig getServiceConfig(); /** * Returns the {@link IoHandler} which handles this session. */ IoHandler getHandler(); /** * Returns the configuration of this session. */ IoSessionConfig getConfig(); /** * Returns the filter chain that only affects this session. */ IoFilterChain getFilterChain(); /** * Writes the specified <code>message</code> to remote peer. This * operation is asynchronous; {@link IoHandler#messageSent(IoSession, Object)} * will be invoked when the message is actually sent to remote peer. * You can also wait for the returned {@link WriteFuture} if you want * to wait for the message actually written. */ WriteFuture write(Object message); /** * Closes this session immediately. This operation is asynthronous. * Wait for the returned {@link CloseFuture} if you want to wait for * the session actually closed. */ CloseFuture close(); /** * Returns an attachment of this session. * This method is identical with <tt>getAttribute( "" )</tt>. */ Object getAttachment(); /** * Sets an attachment of this session. * This method is identical with <tt>setAttribute( "", attachment )</tt>. * * @return Old attachment. <tt>null</tt> if it is new. */ Object setAttachment(Object attachment); /** * Returns the value of user-defined attribute of this session. * * @param key the key of the attribute * @return <tt>null</tt> if there is no attribute with the specified key */ Object getAttribute(String key); /** * Sets a user-defined attribute. * * @param key the key of the attribute * @param value the value of the attribute * @return The old value of the attribute. <tt>null</tt> if it is new. */ Object setAttribute(String key, Object value); /** * Sets a user defined attribute without a value. This is useful when * you just want to put a 'mark' attribute. Its value is set to * {@link Boolean#TRUE}. * * @param key the key of the attribute * @return The old value of the attribute. <tt>null</tt> if it is new. */ Object setAttribute(String key); /** * Removes a user-defined attribute with the specified key. * * @return The old value of the attribute. <tt>null</tt> if not found. */ Object removeAttribute(String key); /** * Returns <tt>true</tt> if this session contains the attribute with * the specified <tt>key</tt>. */ boolean containsAttribute(String key); /** * Returns the set of keys of all user-defined attributes. */ Set<String> getAttributeKeys(); /** * Returns transport type of this session. */ TransportType getTransportType(); /** * Returns <code>true</code> if this session is connected with remote peer. */ boolean isConnected(); /** * Returns <code>true</tt> if and only if this session is being closed * (but not disconnected yet) or is closed. */ boolean isClosing(); /** * Returns the {@link CloseFuture} of this session. This method returns * the same instance whenever user calls it. */ CloseFuture getCloseFuture(); /** * Returns the socket address of remote peer. */ SocketAddress getRemoteAddress(); /** * Returns the socket address of local machine which is associated with this * session. */ SocketAddress getLocalAddress(); /** * Returns the socket address of the {@link IoService} listens to to manage * this session. If this session is managed by {@link IoAcceptor}, it * returns the {@link SocketAddress} which is specified as a parameter of * {@link IoAcceptor#bind(SocketAddress, IoHandler)}. If this session is * managed by {@link IoConnector}, this method returns the same address with * that of {@link #getRemoteAddress()}. */ SocketAddress getServiceAddress(); /** * Returns idle time for the specified type of idleness in seconds. */ int getIdleTime(IdleStatus status); /** * Returns idle time for the specified type of idleness in milliseconds. */ long getIdleTimeInMillis(IdleStatus status); /** * Sets idle time for the specified type of idleness in seconds. */ void setIdleTime(IdleStatus status, int idleTime); /** * Returns write timeout in seconds. */ int getWriteTimeout(); /** * Returns write timeout in milliseconds. */ long getWriteTimeoutInMillis(); /** * Sets write timeout in seconds. */ void setWriteTimeout(int writeTimeout); /** * Returns the current {@link TrafficMask} of this session. */ TrafficMask getTrafficMask(); /** * Sets the {@link TrafficMask} of this session which will result * the parent {@link IoService} to start to control the traffic * of this session immediately. */ void setTrafficMask(TrafficMask trafficMask); /** * A shortcut method for {@link #setTrafficMask(TrafficMask)} that * suspends read operations for this session. */ void suspendRead(); /** * A shortcut method for {@link #setTrafficMask(TrafficMask)} that * suspends write operations for this session. */ void suspendWrite(); /** * A shortcut method for {@link #setTrafficMask(TrafficMask)} that * resumes read operations for this session. */ void resumeRead(); /** * A shortcut method for {@link #setTrafficMask(TrafficMask)} that * resumes write operations for this session. */ void resumeWrite(); /** * Returns the total number of bytes which were read from this session. */ long getReadBytes(); /** * Returns the total number of bytes which were written to this session. */ long getWrittenBytes(); /** * Returns the total number of messages which were read and decoded from this session. */ long getReadMessages(); /** * Returns the total number of messages which were written and encoded by this session. */ long getWrittenMessages(); /** * Returns the total number of write requests which were written to this session. */ long getWrittenWriteRequests(); /** * Returns the number of write requests which are scheduled to be written * to this session. */ int getScheduledWriteRequests(); /** * Returns the number of bytes which are scheduled to be written to this * session. */ int getScheduledWriteBytes(); /** * Returns the time in millis when this session is created. */ long getCreationTime(); /** * Returns the time in millis when I/O occurred lastly. */ long getLastIoTime(); /** * Returns the time in millis when read operation occurred lastly. */ long getLastReadTime(); /** * Returns the time in millis when write operation occurred lastly. */ long getLastWriteTime(); /** * Returns <code>true</code> if this session is idle for the specified * {@link IdleStatus}. */ boolean isIdle(IdleStatus status); /** * Returns the number of the fired continuous <tt>sessionIdle</tt> events * for the specified {@link IdleStatus}. * <p> * If <tt>sessionIdle</tt> event is fired first after some time after I/O, * <tt>idleCount</tt> becomes <tt>1</tt>. <tt>idleCount</tt> resets to * <tt>0</tt> if any I/O occurs again, otherwise it increases to * <tt>2</tt> and so on if <tt>sessionIdle</tt> event is fired again without * any I/O between two (or more) <tt>sessionIdle</tt> events. */ int getIdleCount(IdleStatus status); /** * Returns the time in millis when the last <tt>sessionIdle</tt> event * is fired for the specified {@link IdleStatus}. */ long getLastIdleTime(IdleStatus status); }
[ "ivan.legovic@gmail.com" ]
ivan.legovic@gmail.com
cea7b47cb0a6e0b2b423a4cfc65de6aec98dafd1
3ec7153e2e99c7005c4b10de79ddc3844e09c4f9
/class_material/LinkedList/src/ie/tcd/cs3102/Main.java
b927a3fe3f85579798a99062de3a088803ca97d6
[]
no_license
bjg/2017-cs3102-java
65e87447c2ba0393c3c3cf060132eb4613d032b3
e23a040ecf83f94631f7d841a4eb4b20953b18a3
refs/heads/master
2021-08-24T03:00:13.615901
2017-12-07T19:35:02
2017-12-07T19:35:02
105,135,341
1
1
null
null
null
null
UTF-8
Java
false
false
1,411
java
package ie.tcd.cs3102; public class Main { public static void main(String[] args) { // write your code here int[] numbers = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9}; final int N = numbers.length; // Operations // // 1. Random access (i.e. reading at an index) // // O(N) = 1 // // 2. Search of unsorted (looking for the presence or position of a value) // // O(N) = N/2 // // 3. Search of sorted (looking for the presence or position of a value) // // O(N) = log(N) // // 4. Sorting with selection (in-order place of elements (e.g. ascending order)) // // O(N) = N * N // // 5. Sorting with merge (in-order place of elements (e.g. ascending order)) // // O(N) = N * log(N) System.out.println( new SinglyLinkedList() .remove(100) .push(10) .remove(10) .push(10) .push(20) .remove(20) ); System.out.println( new SinglyLinkedList() .insert(10) .insert(20) .insert(30) .insert(5) .insert(15) .insert(40) .insert(35) .insert(0) ); } }
[ "brian.j.gillespie@gmail.com" ]
brian.j.gillespie@gmail.com
60114bc3948690d056b4585ce88a1d7512f5bd1c
86ba338c0373d1ef1d152c60e014df61c8ff0b7e
/app/src/main/java/swd/project/assetmanagement/presenter/StageListPresenter.java
30906a84991947338a8013639329ba048c14f160
[]
no_license
hoanthiennguyen/AssetManagementAndroid
606ae013298a039cf5cae9c95e0a7d411c3885c4
c652f673977abdf5c97a6a43862fd0ef7aa2dc74
refs/heads/master
2020-09-13T22:06:48.134851
2019-12-16T04:19:24
2019-12-16T04:19:24
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,488
java
package swd.project.assetmanagement.presenter; import java.util.List; import swd.project.assetmanagement.api_util.CallbackData; import swd.project.assetmanagement.model.Stage; import swd.project.assetmanagement.repository.StageRepository; import swd.project.assetmanagement.repository.StageRepositoryImpl; import swd.project.assetmanagement.view.StageListView; public class StageListPresenter { StageRepository stageRepository = new StageRepositoryImpl(); StageListView stageListView; public StageListPresenter(StageListView stageListView) { this.stageListView = stageListView; } public void fetchListStage(int assetId){ stageRepository.fetchListStage(assetId, new CallbackData<List<Stage>>() { @Override public void onSuccess(List<Stage> stages) { stageListView.onSuccessFetchStageList(stages); } @Override public void onFail(String msg) { stageListView.onFailFetchStageList(msg); } }); } public void addNewStage(int assetId, Stage newStage){ stageRepository.addNewStage(assetId, newStage, new CallbackData<Stage>() { @Override public void onSuccess(Stage stage) { stageListView.onSuccessAddNewStage(stage); } @Override public void onFail(String msg) { stageListView.onFailAddNewStage(msg); } }); } }
[ "hoanthien97@gmail.com" ]
hoanthien97@gmail.com
0ff0b2191788f453852bcb91a0caedc49f3572e2
a0bd4eb9abcb4358e1614ddb10e064be504cd44c
/sourcecode/project/xmeeting/padapp/xMeeting_3/src/com/poqop/document/DocumentView.java
de192746e633b1d5b17fe0cdb6df6747c80a7869
[]
no_license
ljvblfz/x00001
543a7ec9f0b7d4f15e994f2cf27327f9809beb04
91ae562082352a895e9e153540c1f6a2a8aef143
refs/heads/master
2023-08-19T20:03:54.286131
2013-10-21T14:31:14
2013-10-21T14:31:14
47,921,116
0
0
null
null
null
null
UTF-8
Java
false
false
11,115
java
package com.poqop.document; import android.content.Context; import android.graphics.*; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.VelocityTracker; import android.view.View; import android.widget.Scroller; import com.poqop.document.events.ZoomListener; import com.poqop.document.models.CurrentPageModel; import com.poqop.document.models.DecodingProgressModel; import com.poqop.document.models.ZoomModel; import com.poqop.document.multitouch.MultiTouchZoom; import com.poqop.document.multitouch.MultiTouchZoomImpl; import java.util.HashMap; import java.util.Map; public class DocumentView extends View implements ZoomListener { final ZoomModel zoomModel; private final CurrentPageModel currentPageModel; DecodeService decodeService; private final HashMap<Integer, Page> pages = new HashMap<Integer, Page>(); private boolean isInitialized = false; private int pageToGoTo; private float lastX; private float lastY; private VelocityTracker velocityTracker; private final Scroller scroller; DecodingProgressModel progressModel; private RectF viewRect; private boolean inZoom; private long lastDownEventTime; private static final int DOUBLE_TAP_TIME = 500; private MultiTouchZoom multiTouchZoom; public DocumentView(Context context, final ZoomModel zoomModel, DecodingProgressModel progressModel, CurrentPageModel currentPageModel) { super(context); this.zoomModel = zoomModel; this.progressModel = progressModel; this.currentPageModel = currentPageModel; setKeepScreenOn(true); scroller = new Scroller(getContext()); setFocusable(true); setFocusableInTouchMode(true); initMultiTouchZoomIfAvailable(zoomModel); } private void initMultiTouchZoomIfAvailable(ZoomModel zoomModel) { try { multiTouchZoom = (MultiTouchZoom) Class.forName("com.poqop.document.multitouch.MultiTouchZoomImpl").getConstructor(ZoomModel.class).newInstance(zoomModel); } catch (Exception e) { System.out.println("Multi touch zoom is not available: " + e); } } public void setDecodeService(DecodeService decodeService) { this.decodeService = decodeService; } private void init() { if (isInitialized) { return; } final int width = decodeService.getEffectivePagesWidth(); final int height = decodeService.getEffectivePagesHeight(); for (int i = 0; i < decodeService.getPageCount(); i++) { pages.put(i, new Page(this, i)); pages.get(i).setAspectRatio(width, height); } isInitialized = true; invalidatePageSizes(); goToPageImpl(pageToGoTo); } private void goToPageImpl(final int toPage) { scrollTo(0, pages.get(toPage).getTop()); } @Override protected void onScrollChanged(int l, int t, int oldl, int oldt) { super.onScrollChanged(l, t, oldl, oldt); // bounds could be not updated post(new Runnable() { public void run() { currentPageModel.setCurrentPageIndex(getCurrentPage()); } }); if (inZoom) { return; } // on scrollChanged can be called from scrollTo just after new layout applied so we should wait for relayout post(new Runnable() { public void run() { updatePageVisibility(); } }); } private void updatePageVisibility() { for (Page page : pages.values()) { page.updateVisibility(); } } public void commitZoom() { for (Page page : pages.values()) { page.invalidate(); } inZoom = false; } public void showDocument() { // use post to ensure that document view has width and height before decoding begin post(new Runnable() { public void run() { init(); updatePageVisibility(); } }); } public void goToPage(int toPage) { if (isInitialized) { goToPageImpl(toPage); } else { pageToGoTo = toPage; } } public int getCurrentPage() { for (Map.Entry<Integer, Page> entry : pages.entrySet()) { if (entry.getValue().isVisible()) { return entry.getKey(); } } return 0; } public void zoomChanged(float newZoom, float oldZoom) { inZoom = true; stopScroller(); final float ratio = newZoom / oldZoom; invalidatePageSizes(); scrollTo((int) ((getScrollX() + getWidth() / 2) * ratio - getWidth() / 2), (int) ((getScrollY() + getHeight() / 2) * ratio - getHeight() / 2)); postInvalidate(); } @Override public boolean onTouchEvent(MotionEvent ev) { super.onTouchEvent(ev); if (multiTouchZoom != null) { if (multiTouchZoom.onTouchEvent(ev)) { return true; } if (multiTouchZoom.isResetLastPointAfterZoom()) { setLastPosition(ev); multiTouchZoom.setResetLastPointAfterZoom(false); } } if (velocityTracker == null) { velocityTracker = VelocityTracker.obtain(); } velocityTracker.addMovement(ev); switch (ev.getAction()) { case MotionEvent.ACTION_DOWN: stopScroller(); setLastPosition(ev); if (ev.getEventTime() - lastDownEventTime < DOUBLE_TAP_TIME) { zoomModel.toggleZoomControls(); } else { lastDownEventTime = ev.getEventTime(); } break; case MotionEvent.ACTION_MOVE: scrollBy((int) (lastX - ev.getX()), (int) (lastY - ev.getY())); setLastPosition(ev); break; case MotionEvent.ACTION_UP: try{ velocityTracker.computeCurrentVelocity(1000); scroller.fling(getScrollX(), getScrollY(), (int) -velocityTracker.getXVelocity(), (int) -velocityTracker.getYVelocity(), getLeftLimit(), getRightLimit(), getTopLimit(), getBottomLimit()); velocityTracker.recycle(); velocityTracker = null; }catch(Exception ae){ ae.printStackTrace(); } break; } return true; } private void setLastPosition(MotionEvent ev) { lastX = ev.getX(); lastY = ev.getY(); } @Override public boolean dispatchKeyEvent(KeyEvent event) { if (event.getAction() == KeyEvent.ACTION_DOWN) { switch (event.getKeyCode()) { case KeyEvent.KEYCODE_DPAD_RIGHT: lineByLineMoveTo(1); return true; case KeyEvent.KEYCODE_DPAD_LEFT: lineByLineMoveTo(-1); return true; case KeyEvent.KEYCODE_DPAD_DOWN: verticalDpadScroll(1); return true; case KeyEvent.KEYCODE_DPAD_UP: verticalDpadScroll(-1); return true; } } return super.dispatchKeyEvent(event); } private void verticalDpadScroll(int direction) { scroller.startScroll(getScrollX(), getScrollY(), 0, direction * getHeight() / 2); invalidate(); } private void lineByLineMoveTo(int direction) { if (direction == 1 ? getScrollX() == getRightLimit() : getScrollX() == getLeftLimit()) { scroller.startScroll(getScrollX(), getScrollY(), direction * (getLeftLimit() - getRightLimit()), (int) (direction * pages.get(getCurrentPage()).bounds.height() / 50)); } else { scroller.startScroll(getScrollX(), getScrollY(), direction * getWidth() / 2, 0); } invalidate(); } private int getTopLimit() { return 0; } private int getLeftLimit() { return 0; } private int getBottomLimit() { return (int) pages.get(pages.size() - 1).bounds.bottom - getHeight(); } private int getRightLimit() { return (int) (getWidth() * zoomModel.getZoom()) - getWidth(); } @Override public void scrollTo(int x, int y) { super.scrollTo(Math.min(Math.max(x, getLeftLimit()), getRightLimit()), Math.min(Math.max(y, getTopLimit()), getBottomLimit())); viewRect = null; } RectF getViewRect() { if (viewRect == null) { viewRect = new RectF(getScrollX(), getScrollY(), getScrollX() + getWidth(), getScrollY() + getHeight()); } return viewRect; } @Override public void computeScroll() { if (scroller.computeScrollOffset()) { scrollTo(scroller.getCurrX(), scroller.getCurrY()); } } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); for (Page page : pages.values()) { page.draw(canvas); } } @Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { super.onLayout(changed, left, top, right, bottom); float scrollScaleRatio = getScrollScaleRatio(); invalidatePageSizes(); invalidateScroll(scrollScaleRatio); commitZoom(); } void invalidatePageSizes() { if (!isInitialized) { return; } float heightAccum = 0; int width = getWidth(); float zoom = zoomModel.getZoom(); for (int i = 0; i < pages.size(); i++) { Page page = pages.get(i); float pageHeight = page.getPageHeight(width, zoom); page.setBounds(new RectF(0, heightAccum, width * zoom, heightAccum + pageHeight)); heightAccum += pageHeight; } } private void invalidateScroll(float ratio) { if (!isInitialized) { return; } stopScroller(); final Page page = pages.get(0); if (page == null || page.bounds == null) { return; } scrollTo((int) (getScrollX() * ratio), (int) (getScrollY() * ratio)); } private float getScrollScaleRatio() { final Page page = pages.get(0); if (page == null || page.bounds == null) { return 0; } final float v = zoomModel.getZoom(); return getWidth() * v / page.bounds.width(); } private void stopScroller() { if (!scroller.isFinished()) { scroller.abortAnimation(); } } }
[ "zivenlu@gmail.com" ]
zivenlu@gmail.com
1b8db170e7578344d16a490c9315fc7c75f2ccb6
e2a44ab40a8605aec0c4ce2d2511fdff48232c48
/src/Unit10/Truck.java
12b8dc8e7f27485a5f98403e3a2dfaad75e997da
[]
no_license
mitchell-johnstone/APCS
0f6ad17c1045ec1078fa6fcb75379ca78b9e253a
a5b6d3c38ce87f0706f9fd3d587d4aded83e61b7
refs/heads/master
2020-04-02T01:22:40.473330
2019-06-13T17:41:21
2019-06-13T17:41:21
153,846,963
0
0
null
null
null
null
UTF-8
Java
false
false
545
java
package Unit10; import java.awt.*; public class Truck extends Vehicle{ private int x; private int y; public Truck(int x, int y) { this.x = x; this.y = y; } public void move(int val) { this.x+=val; } public void draw(Canvas c) { c.setInkColor(Color.RED); c.drawFilledRectangle(x,y,200,100); c.drawFilledRectangle(x+210,y+36,40,64); c.setInkColor(Color.white); c.drawFilledOval(x+10,y+100,50,50); c.drawFilledOval(x+160,y+100,50,50); } }
[ "mitch2579@gmail.com" ]
mitch2579@gmail.com
2e5994f3134b51b40b8d33c7d7c9ee7d84a25650
783241c65249bac8199fbf5cbdd3c6956242b581
/lab1_Mishagin/app/src/test/java/spb/mishagin/lab1_mishagin/ExampleUnitTest.java
f1c5a66d5af03b4a9ae2f80bf56b04dad4470dad
[]
no_license
mi5ha6in/itmo-android
dba5cec6ff6babf6756dbb1f1ff502438ded5236
b97d7f2cf813925fc9bdeb1dff88ed51b92bd123
refs/heads/master
2020-12-07T02:46:44.850010
2020-01-24T03:29:39
2020-01-24T03:29:39
232,612,787
0
0
null
null
null
null
UTF-8
Java
false
false
403
java
package spb.mishagin.lab1_mishagin; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() { assertEquals(4, 2 + 2); } }
[ "mi5ha6in@gmail.com" ]
mi5ha6in@gmail.com
f6018c50141b384cacad7ac18e59a2b4db843679
5ff18aa4c82e66b7d0ea21d33b94a8d214b7169c
/workspace(jsp)/07_Product/src/com/product/controller/UpdateServlet.java
a7d046fee242d774f9a1e7c8d0cf55031f3af443
[]
no_license
hyebin-seo/october
3c7c027d40e95e9032795e954c43ac06cd66d7e4
141874ad116257edcf836299d15d4d7b91ba10d6
refs/heads/master
2023-06-13T04:55:02.324580
2021-07-05T23:49:17
2021-07-05T23:49:17
342,134,038
1
0
null
null
null
null
UTF-8
Java
false
false
1,456
java
package com.product.controller; import java.io.IOException; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.product.model.CategoryDAO; import com.product.model.CategoryDTO; import com.product.model.ProductDAO; import com.product.model.ProductDTO; @WebServlet("/update.do") public class UpdateServlet extends HttpServlet { private static final long serialVersionUID = 1L; public UpdateServlet() { super(); // TODO Auto-generated constructor stub } protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // 제품번호에 해당하는 제품의 정보를 조회해서 수정폼 페이지로 이동시키는 작업 int product_num = Integer.parseInt(request.getParameter("num")); ProductDAO pdao = ProductDAO.getInstance(); ProductDTO pdto = pdao.getContentProduct(product_num); CategoryDAO cdao = CategoryDAO.getInstance(); List<CategoryDTO> list = cdao.getCategoryList(); request.setAttribute("edit", pdto); request.setAttribute("List", list); RequestDispatcher rd = request.getRequestDispatcher("view/product_edit.jsp"); rd.forward(request, response); } }
[ "rhfqlsdkdl18@gmail.com" ]
rhfqlsdkdl18@gmail.com
f1afb45b645a8dc313cbee59eb053af57c8e346d
42e72619e4aa9b06ac641a8045c28f363292d7e1
/Workspace/dozent-producer/src/test/java/de/hftl/dozentproducer/DozentProducerApplicationTests.java
88dce8d373fe7948e27bd18dc398fcefe43054b8
[]
no_license
Corossion/microservice-project-fallback
1e0690d33be1758d31ebd7b830549f8b2d131bde
42684b7a9ca56e1c81acdd9ceca63add77b8f426
refs/heads/master
2021-08-16T10:37:36.786678
2017-11-19T16:36:47
2017-11-19T16:36:47
111,304,594
0
0
null
null
null
null
UTF-8
Java
false
false
347
java
package de.hftl.dozentproducer; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class DozentProducerApplicationTests { @Test public void contextLoads() { } }
[ "FRANK.BREUER@TELEKOM.DE" ]
FRANK.BREUER@TELEKOM.DE
abc0a3a2fa7dcf8fb1d39260498e18e222927a65
91dbefd8fcb2a47a3716c94decc6de6a693b3f09
/src/main/java/com/mycompany/orientacaoweb2/model/Usuario.java
c99586f4f835f36d3b42623da19201fb57253fab
[]
no_license
juninhozeine/web2-trab1
ca8857d7ff2e368cc13d6df10dfed74d1f424fdf
b3dea5499762b1198a4ce63e5e989899fc4d753d
refs/heads/master
2020-03-18T07:59:16.493425
2018-05-23T06:37:02
2018-05-23T06:37:02
134,483,068
0
0
null
2018-05-22T22:34:55
2018-05-22T22:34:55
null
UTF-8
Java
false
false
1,494
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.mycompany.orientacaoweb2.model; import java.util.Objects; /** * * @author joao */ public class Usuario { private int id; private String nome; private String email; private String senha; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getSenha() { return senha; } public void setSenha(String senha) { this.senha = senha; } @Override public int hashCode() { int hash = 5; hash = 59 * hash + Objects.hashCode(this.id); return hash; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final Usuario other = (Usuario) obj; if (!Objects.equals(this.id, other.id)) { return false; } return true; } }
[ "jgs1884@gmail.com" ]
jgs1884@gmail.com
e99a9d44a9fb5c17e3fb0f71fea1ca3c3d15b20f
f7f5dc1cd0a8e539087f177b49dcdcb7a081bba1
/src/main/java/com/gc/IDashboardFolder.java
51ff3d7e42fa236f1046a1b95799d6e6473b5893
[]
no_license
srikanthp7/AutomationCoordinator
1b3bc3a0d5f3b2cadcfee198a51bb9a9e37226a0
c32e260230fab6114bd359ec9a63bc6784ebbf89
refs/heads/master
2020-03-19T06:52:41.155479
2018-06-05T18:18:03
2018-06-05T18:18:03
136,062,734
0
0
null
null
null
null
UTF-8
Java
false
false
3,867
java
package com.gc; import com4j.*; /** * For HP use. Represents a Dashboard folder. */ @IID("{584A90A3-490D-4661-B781-9845B2D57C92}") public interface IDashboardFolder extends com.gc.IBaseField { // Methods: /** * <p> * The Dashboard folder's name. * </p> * <p> * Getter method for the COM property "Name" * </p> * * @return Returns a value of type java.lang.String */ @DISPID(14) // = 0xe. The runtime will prefer the VTID if present @VTID(20) java.lang.String name(); /** * <p> * The Dashboard folder's name. * </p> * <p> * Setter method for the COM property "Name" * </p> * * @param pVal * Mandatory java.lang.String parameter. */ @DISPID(14) // = 0xe. The runtime will prefer the VTID if present @VTID(21) void name(java.lang.String pVal); /** * <p> * The ID of the folder that contains this folder. * </p> * <p> * Getter method for the COM property "ParentId" * </p> * * @return Returns a value of type int */ @DISPID(15) // = 0xf. The runtime will prefer the VTID if present @VTID(22) int parentId(); /** * <p> * The ID of the folder that contains this folder. * </p> * <p> * Setter method for the COM property "ParentId" * </p> * * @param pVal * Mandatory int parameter. */ @DISPID(15) // = 0xf. The runtime will prefer the VTID if present @VTID(23) void parentId(int pVal); /** * <p> * Indicates whether this is a public Dashboard folder. * </p> * <p> * Getter method for the COM property "Public" * </p> * * @return Returns a value of type boolean */ @DISPID(16) // = 0x10. The runtime will prefer the VTID if present @VTID(24) boolean _public(); /** * <p> * Indicates whether this is a public Dashboard folder. * </p> * <p> * Setter method for the COM property "Public" * </p> * * @param pVal * Mandatory boolean parameter. */ @DISPID(16) // = 0x10. The runtime will prefer the VTID if present @VTID(25) void _public(boolean pVal); /** * <p> * The DashboardFolderFactory object for Dashboard folders that are direct * children of this folder. * </p> * <p> * Getter method for the COM property "DashboardFolderFactory" * </p> * * @return Returns a value of type com4j.Com4jObject */ @DISPID(17) // = 0x11. The runtime will prefer the VTID if present @VTID(26) @ReturnValue(type = NativeType.Dispatch) com4j.Com4jObject dashboardFolderFactory(); /** * <p> * The DashboardPageFactory object for managing the child pages entities. * </p> * <p> * Getter method for the COM property "DashboardPageFactory" * </p> * * @return Returns a value of type com4j.Com4jObject */ @DISPID(18) // = 0x12. The runtime will prefer the VTID if present @VTID(27) @ReturnValue(type = NativeType.Dispatch) com4j.Com4jObject dashboardPageFactory(); /** * <p> * The Dashboard folder's description. * </p> * <p> * Getter method for the COM property "Description" * </p> * * @return Returns a value of type java.lang.String */ @DISPID(19) // = 0x13. The runtime will prefer the VTID if present @VTID(28) java.lang.String description(); /** * <p> * The Dashboard folder's description. * </p> * <p> * Setter method for the COM property "Description" * </p> * * @param pVal * Mandatory java.lang.String parameter. */ @DISPID(19) // = 0x13. The runtime will prefer the VTID if present @VTID(29) void description(java.lang.String pVal); /** * <p> * The user name of the dashboard folder's owner. * </p> * <p> * Getter method for the COM property "OwnerUser" * </p> * * @return Returns a value of type java.lang.String */ @DISPID(20) // = 0x14. The runtime will prefer the VTID if present @VTID(30) java.lang.String ownerUser(); // Properties: }
[ "srikanthp7@gmail.com" ]
srikanthp7@gmail.com
acc7020bbe6c7079b201fb983117bb828b07cb81
ab8b9134f917168c4e300e8ac80e4749ba4efeea
/src/main/java/s4got10dev/weather/service/owm/Mapper.java
3d379ac57447f7cf323d36920f7d5048cb7aa4eb
[ "MIT" ]
permissive
s4got10dev/weather-forecast
cd25768feba1569da9bf8b3dc7f969c03b3be131
f49b05a9c3ac17b42df13cfdbe7bab5df39c007e
refs/heads/master
2020-04-23T08:53:48.311234
2019-02-24T14:58:53
2019-02-24T14:58:53
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,951
java
package s4got10dev.weather.service.owm; import com.google.common.base.Strings; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; import s4got10dev.weather.domain.DayForecast; import s4got10dev.weather.domain.ForecastResponse; import java.math.BigDecimal; import java.math.RoundingMode; import java.time.Instant; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.function.Predicate; import java.util.function.ToDoubleFunction; import java.util.stream.Collectors; import static com.google.common.base.MoreObjects.firstNonNull; import static java.lang.Integer.valueOf; import static java.time.ZoneOffset.UTC; import static java.time.temporal.ChronoUnit.DAYS; import static java.util.Optional.ofNullable; import static java.util.stream.Collectors.groupingBy; import static java.util.stream.Collectors.joining; import static java.util.stream.Stream.of; import static org.springframework.http.HttpStatus.BAD_REQUEST; import static org.springframework.http.HttpStatus.resolve; @Component class Mapper { ForecastResponse map(OwmForecastResponseDTO response) { ForecastResponse forecast = new ForecastResponse(); HttpStatus code = resolve(valueOf(response.getCod())); forecast.setCode(firstNonNull(code, BAD_REQUEST).value()); if (code != HttpStatus.OK) { forecast.setMessage(response.getMessage()); } else { forecast.setLocation(ofNullable(response.getCity()) .map(city -> of(city.getName(), city.getCountry()).map(Strings::nullToEmpty).collect(joining(", "))) .orElse("unknown")); forecast.setDailyForecast(mapNextNDays(response.getList(), 3)); } return forecast; } List<DayForecast> mapNextNDays(List<OwmForecastDTO> forecastList, int days) { if (CollectionUtils.isEmpty(forecastList)) return Collections.emptyList(); return mapSpecificTimeRange(forecastList, inNDays(1), inNDays(1 + days)); } private List<DayForecast> mapSpecificTimeRange(List<OwmForecastDTO> forecastList, Instant rangeStart, Instant rangeEnd) { final Map<Instant, List<OwmForecastDTO>> grouped = forecastList.stream() .filter(f -> f.getDt().isAfter(rangeStart.minusSeconds(1)) && f.getDt().isBefore(rangeEnd)) .collect(groupingBy(f -> f.getDt().truncatedTo(DAYS))); return grouped.entrySet().stream().map(Mapper::map).collect(Collectors.toList()); } private static DayForecast map(Map.Entry<Instant, List<OwmForecastDTO>> entry) { return DayForecast.builder().date(entry.getKey()) .pressure(average(entry.getValue(), Mapper::dayAndNight, OwmMainDTO::getPressure)) .dayTemp(average(entry.getValue(), Mapper::day, OwmMainDTO::getTemp)) .nightTemp(average(entry.getValue(), Mapper::night, OwmMainDTO::getTemp)).build(); } private static Instant inNDays(int days) { return Instant.now().truncatedTo(DAYS).plus(days, DAYS); } private static double average(List<OwmForecastDTO> entry, Predicate<OwmForecastDTO> filter, ToDoubleFunction<OwmMainDTO> extractor) { return BigDecimal.valueOf(entry.stream() .filter(filter) .map(OwmForecastDTO::getMain) .mapToDouble(extractor) .average() .orElse(0)) .setScale(2, RoundingMode.HALF_UP) .doubleValue(); } private static boolean dayAndNight(OwmForecastDTO forecast) { return true; } private static boolean day(OwmForecastDTO forecast) { int hour = forecast.getDt().atZone(UTC).getHour(); return hour > 6 && hour < 18; } private static boolean night(OwmForecastDTO forecast) { return !day(forecast); } }
[ "4got10dev@gmail.com" ]
4got10dev@gmail.com
f7e2e72af7d4c99f18802b121a6d6b540eb52b1b
7d7d2093dda33095ad3e95c48eeac4ef2724751c
/src/com/siwuxie095/designpattern/category/chapter11th/example5th/Subject.java
79f31d9f513b0f0f77cb0ebc964291a0a20a7dc2
[]
no_license
siwuxie095/DesignPattern
8cf0f7ad6591b9574dc950099ba2df05ac317eeb
1f31e6e0277a068a096fe9dbef5c44b18999b7e8
refs/heads/master
2020-07-02T14:55:51.576373
2019-11-12T05:56:13
2019-11-12T05:56:13
201,562,114
0
0
null
null
null
null
UTF-8
Java
false
false
357
java
package com.siwuxie095.designpattern.category.chapter11th.example5th; /** * 主题 * * @author Jiajing Li * @date 2019-11-09 17:14:11 */ interface Subject { /* * Proxy 和 RealSubject 都实现了 Subject 接口,这允许任何客户 * 都可以像处理 RealSubject 对象一样处理 Proxy 对象。 */ void request(); }
[ "834879583@qq.com" ]
834879583@qq.com
fd514f5d8df35f2d62ed0eef6f63e4047d50add7
6a7b3c9aa947abca523d17c35f08f09f751bff08
/src/main/java/com/domain/butterfly/constant/ReportConfigConst.java
5379dd27cffddb2321852dfd94b8f49446d17058
[]
no_license
learnITpossible/butterfly
2ff1398e5e356fced71f5e7307976b4e56864113
0d9580fcf54b27d07d8ad716578918a2531c5923
refs/heads/master
2021-09-01T13:58:22.403998
2017-12-27T10:02:45
2017-12-27T10:02:45
113,951,281
0
0
null
null
null
null
UTF-8
Java
false
false
1,049
java
package com.domain.butterfly.constant; /** * TODO describe the file * @author lijing * @version 1.0.0 * @since 2017/12/13 */ public class ReportConfigConst { public enum Status { READY(1), SCHEDULED(2), RUNNING(3), COMPLETE(4), EXCEPTION(5); public int value; Status(int value) { this.value = value; } } public enum RunImmediately { NO(0), YES(1); public int value; RunImmediately(int value) { this.value = value; } } public enum ExportFileType { NULL(-1), XLS(0), XLSX(1); public int value; ExportFileType(int value) { this.value = value; } public static ExportFileType valueOf(int value) { for (ExportFileType type : ExportFileType.values()) { if (type.value == value) { return type; } } return NULL; } } }
[ "lijing@weyao.com" ]
lijing@weyao.com
13b44389db6a653e8c043183d69c9476b5f0ed24
7a8dc27adffbcac90f5b80634bfd8b5bdac99893
/src/fr/gtm/monopoly/Plateau.java
6a686f79f7ada318cf28dfa8ed06991d5aa44324
[]
no_license
kbelarif/monopoly_kamel
f7cfa9ca52fdf17f5639217b806b1b566ecca32c
da05b272914a447abf30f9cf7929adc502d20202
refs/heads/master
2020-12-04T04:23:00.142934
2020-01-03T15:03:15
2020-01-03T15:03:15
231,610,061
0
0
null
null
null
null
UTF-8
Java
false
false
497
java
package fr.gtm.monopoly; public class Plateau { private Case[] cases = new Case[40]; public Plateau() { creerCases(); lierCases(); } private void creerCases() { for(int i=0; i<cases.length;i++) { cases[i] = new Case("case "+i); } } private void lierCases() { for(int i=0; i<cases.length -1; i++) { cases[i].setSuivante(cases[i+1]); } cases[cases.length -1].setSuivante(cases[0]); } public Case getCaseDepart() { return cases[0]; } }
[ "adminl@localhost" ]
adminl@localhost
9b25c51d170493a006addd764ee060f0a19738b6
1d203876aecd1d49f20ff7911ebe7db2df18de82
/hyhd/Server/src/com/zzz/db/Users.java
173897ee684ba9118b7c9d2dff34a12ee4fdb9a2
[]
no_license
Jans-zhello/hyhd
1aa30e4983e5f697550ef9bb5dfcd880e853a403
d50698116945fc281989d5ccbfc6aff0d5d55bfb
refs/heads/master
2022-09-20T12:42:52.222160
2020-05-02T15:54:28
2020-05-02T15:54:28
null
0
0
null
null
null
null
UTF-8
Java
false
false
591
java
package com.zzz.db; public class Users { private int userid; public void setUserid(int userid) { this.userid = userid; } public int getUserid() { return userid; } private String password; public void setPassword(String password) { this.password = password; } public String getPassword() { return password; } private int state; public void setState(int state) { this.state = state; } public int getState() { return state; } private String ukey; public void setUkey(String ukey) { this.ukey = ukey; } public String getUkey() { return ukey; } }
[ "18337398326@163.com" ]
18337398326@163.com
3aa38f6d4d6451b23898d32fdb141e34d3076bf3
8ccf02af2c905660b1a71f8606a3b9b3a8b4077c
/app/src/main/java/com/adiguzel/anil/kochisstteil/MainMenuAdapter.java
678923c6012158272fc9aaaaddeaa8f5406d17c0
[]
no_license
adgzlanl/KochIsstTeil_app_Android
5974e510fe8bb82c0171d1e69edc27c335e19639
1f174c5e62fd1dac6cbf7e4626e8193056d47cfc
refs/heads/master
2021-07-04T11:36:00.999966
2017-09-26T22:10:07
2017-09-26T22:10:07
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,246
java
package com.adiguzel.anil.kochisstteil; import android.content.Context; import android.support.design.widget.Snackbar; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; /** * Created by lenovo on 25.09.2017. */ public class MainMenuAdapter extends RecyclerView.Adapter<MainMenuAdapter.ViewHolder> { private List<MenuList> listItems; private Context context; public MainMenuAdapter(List<MenuList> listItems, Context context) { this.listItems = listItems; this.context = context; } @Override public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.card_layout,parent,false); return new ViewHolder(v); } @Override public void onBindViewHolder(ViewHolder holder, int position) { MenuList listItem=listItems.get(position); holder.textViewHead.setText(listItem.getName()); holder.textViewDescription.setText(listItem.getDesc()); holder.textViewDuration.setText(listItem.getDuration()); } @Override public int getItemCount() { return listItems.size(); } public class ViewHolder extends RecyclerView.ViewHolder{ public TextView textViewHead; public TextView textViewDescription; public TextView textViewDuration; public ViewHolder(View itemView) { super(itemView); textViewHead=(TextView) itemView.findViewById(R.id.item_title); textViewDescription=(TextView) itemView.findViewById(R.id.item_detail); textViewDuration=(TextView) itemView.findViewById(R.id.item_duration);; itemView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { int position = getAdapterPosition(); Snackbar.make(v, "Click detected on item " + position, Snackbar.LENGTH_LONG) .setAction("Action", null).show(); } }); } } }
[ "aniladiguzel@outlook.com" ]
aniladiguzel@outlook.com
c8cb3f9b7442435a78c7ebedc6cb1b7d05ecf9a6
dfd67683390053298993558a4f5e060634fe69e4
/src/Tp de tabla hash/Tabla Hash/src/hashTableOpenDispersion/HashableOD.java
dd59be03cd834fc0e59734974b1874a07ccd0542
[]
no_license
ayed2014/grupo1
7bdfa3496abbee937046777bd101b7482f866143
eefec9817bc0958c07bb4e7aa9b52f1a7cf24f56
refs/heads/master
2016-09-06T17:10:36.994781
2014-07-16T03:59:11
2014-07-16T03:59:11
null
0
0
null
null
null
null
UTF-8
Java
false
false
254
java
package hashTableOpenDispersion; /** * Created with IntelliJ IDEA. * User: Gustavo * Date: 31/05/14 * Time: 11:32 * To change this template use File | Settings | File Templates. */ public interface HashableOD { int hash(int tableCapacity); }
[ "gustavo.carvallo@ing.autral.edu.ar" ]
gustavo.carvallo@ing.autral.edu.ar
235ede4310f77e09b380c448c709dc0eb6fe6a08
330b18ce9ebfe4fbfd938aa6d9def9170aea9372
/src/main/java/com/hanbit/dao/DeleteDAO.java
264b0fa5b7a2ddf34defa9e663fbed2ff493f37c
[]
no_license
dqyoon/InnocuousProject
9909c87380f6ba933181f20cecdb9aed19b5c190
10bc7d7cc7b71872d854596f7787cac10f873aca
refs/heads/master
2020-03-29T10:56:56.727819
2018-11-28T10:37:16
2018-11-28T10:37:16
149,830,620
0
0
null
null
null
null
UTF-8
Java
false
false
351
java
package com.hanbit.dao; import com.hanbit.vo.UserVO; import com.hanbit.vo.ContentVO; public interface DeleteDAO { public void getDelete(UserVO vo); public int getDelete2(); public int getDelete3(UserVO vo); public int setDelete(UserVO vo); public UserVO getdProfile(UserVO vo); public int setSysdate(UserVO vo); }
[ "paul6010@naver.com" ]
paul6010@naver.com
b4df92f8793d58cdc108b155fed1f30fcb8dfab6
311db103f3c239a00c833a6f97ef772822fbfb69
/src/test/java/com/github/ong/responsibility/ResponsibilityApplicationTests.java
5ebb670b406d3a0ca5af06d0f18e3216a0ce4a56
[]
no_license
vergil-ong/Responsibility
6008fde06099c309811d15237f3861cdee77c7b5
3da4be2dfce1dd13873a43c917ac0bbeb6e6b0d5
refs/heads/master
2020-04-02T21:17:01.953379
2018-10-26T13:11:42
2018-10-26T13:11:42
154,793,459
0
0
null
null
null
null
UTF-8
Java
false
false
354
java
package com.github.ong.responsibility; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class ResponsibilityApplicationTests { @Test public void contextLoads() { } }
[ "865208597@qq.com" ]
865208597@qq.com
7698969b1c55f3f02a1fa26826c6dc754f2f2159
f02bcedac6d130cdb7d9c3959fc43aad3a3329e4
/EIS_Demo_Merge/src/main/java/com/dell/dims/Model/GlobalVariablesRepository.java
78b4f34e7c9699a6176b484435b6e1d72899cfc6
[]
no_license
EISNttdata/EIS-Direct-Code
579bced5050a41c9da675eab8de5ccc4b2d5c7a2
951471ff351f73d72086c18df735836bd5e1efed
refs/heads/master
2020-03-16T21:27:26.562896
2018-05-11T07:27:11
2018-05-11T07:27:11
132,999,577
0
0
null
null
null
null
UTF-8
Java
false
false
1,578
java
package com.dell.dims.Model; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; /** * Created by Manoj_Mehta on 5/4/2017. */ public class GlobalVariablesRepository { // private final String fileName="defaultVars.substvar"; // private final String defaultDirectory=DimsServiceImpl.input_project_path +File.separator+"defaultVars"; public List<GlobalVariables> globalVariables=new ArrayList<>(); public HashMap<String, List<String>> dirFiles = new HashMap<String, List<String>>(); public void listFilesForFolder(File folder) throws IOException { if(folder.isDirectory()) { ArrayList<String> fileNames = new ArrayList<String>(); for (final File fileEntry : folder.listFiles()) { if (fileEntry.isDirectory()) { // System.out.println(fileEntry.toString()); listFilesForFolder(fileEntry); } else { String fileName = (fileEntry.getPath()).toString(); // System.out.println(fileName); fileNames.add(fileEntry.getPath()); } } dirFiles.put(folder.getName(), fileNames); System.out.println(dirFiles); } } public List<GlobalVariables> getGlobalVariables() { return globalVariables; } public void setGlobalVariables(List<GlobalVariables> globalVariables) { this.globalVariables = globalVariables; } }
[ "manoj_mehta@nttdata.com" ]
manoj_mehta@nttdata.com
74f405398c6ed40a353d59604ea1a5316d021b54
4e8f359eca333c6cf394271f800dff03edba55a8
/src/model/DADOS.java
f63488b187ac159fccbe1668e52261cf7681ebe0
[]
no_license
VauP/CRUD-Rastreador-de-CEP
745ea93b3339769b60697c018e1c48fd8fcae120
78677db8951795100b42a7d5ea8677c77eecf2f8
refs/heads/main
2023-04-25T05:37:49.291763
2021-05-21T03:15:22
2021-05-21T03:15:22
369,400,222
0
0
null
null
null
null
UTF-8
Java
false
false
1,004
java
package model; public class DADOS { public int getCodigo_endereco() { return codigo_endereco; } public void setCodigo_endereco(int codigo_endereco) { this.codigo_endereco = codigo_endereco; } public String getUf_endereco() { return uf_endereco; } public void setUf_endereco(String uf_endereco) { this.uf_endereco = uf_endereco; } public String getRua_endereco() { return rua_endereco; } public void setRua_endereco(String rua_endereco) { this.rua_endereco = rua_endereco; } public String getBairro_endereco() { return bairro_endereco; } public void setBairro_endereco(String bairro_endereco) { this.bairro_endereco = bairro_endereco; } public String getCidade_endereco() { return cidade_endereco; } public void setCidade_endereco(String cidade_endereco) { this.cidade_endereco = cidade_endereco; } private int codigo_endereco; private String uf_endereco; private String rua_endereco; private String bairro_endereco; private String cidade_endereco; }
[ "victor.adpg@gmail.com" ]
victor.adpg@gmail.com
065aad54be8207de4577643018d36128d607eb46
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/21/21_c937a9943ee15edda9cfd691130686f243f2996f/SevenWonders/21_c937a9943ee15edda9cfd691130686f243f2996f_SevenWonders_t.java
41dc0c2a569a9b76b3113e7aa7b7bc2211b0bd44
[]
no_license
zhongxingyu/Seer
48e7e5197624d7afa94d23f849f8ea2075bcaec0
c11a3109fdfca9be337e509ecb2c085b60076213
refs/heads/master
2023-07-06T12:48:55.516692
2023-06-22T07:55:56
2023-06-22T07:55:56
259,613,157
6
2
null
2023-06-22T07:55:57
2020-04-28T11:07:49
null
UTF-8
Java
false
false
4,174
java
package com.steamedpears.comp3004; import com.steamedpears.comp3004.routing.*; import com.steamedpears.comp3004.views.*; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.*; import javax.swing.*; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import java.io.File; public class SevenWonders { public static final String PATH_RESOURCE = File.separator; public static final String PATH_DATA = PATH_RESOURCE + "data"+ File.separator; public static final String PATH_IMG = PATH_RESOURCE + "img"+File.separator; public static final String PATH_IMG_CARDS = PATH_IMG + "cards"+File.separator; public static final String PATH_IMG_WONDERS = PATH_IMG + "wonders"+File.separator; public static final String PATH_CARDS = PATH_DATA + "cards.json"; public static final String PATH_WONDERS = PATH_DATA + "wonderlist.json"; public static final int MAX_PLAYERS = 7; public static final int MIN_PLAYERS = 3; static Logger logger = Logger.getLogger(SevenWonders.class); public static void main(String[] args){ //Logger.getRootLogger().setLevel(Level.INFO); BasicConfigurator.configure(); new SevenWonders(); } ViewFrame view; NewGameDialog newGameDialog; JDialog dialog; Router router; PlayerView playerView; boolean isHost; boolean gameStarted; public static enum View { PLAYER_VIEW, HIGHLEVEL_VIEW }; private View currentView; // TODO: build this HighLevelView highLevelView; public SevenWonders() { view = new ViewFrame(); openNewGameDialog(); } public void createGame(boolean isHosting, String ipAddress, int port, int players) { logger.info("Creating game"); this.isHost = isHosting; closeNewGameDialog(); if(isHost){ router = Router.getHostRouter(port, players); dialog = new HostGameDialog(view,this); }else{ router = Router.getClientRouter(ipAddress, port); dialog = new JoinGameDialog(view,this); } router.addChangeListener(new ChangeListener() { @Override public void stateChanged(ChangeEvent changeEvent) { try { if(isHost) { ((HostGameDialog)dialog).setPlayersJoined(router.getTotalHumanPlayers()); } else if(!gameStarted){ startGame(); } updateView(); } catch(Exception e) { e.printStackTrace(); System.exit(-1); } } }); dialog.setVisible(true); } public void startGame() { closeDialog(); selectPlayerView(); if(isHost) router.beginGame(); this.gameStarted = true; } private void selectPlayerView() { currentView = View.PLAYER_VIEW; } private void updateView() throws Exception { if(currentView == null) return; switch(currentView) { case PLAYER_VIEW: playerView = new PlayerView((router.getLocalGame()).getPlayerById(router.getLocalPlayerId())); view.setView(playerView); break; case HIGHLEVEL_VIEW: // do stuff break; default: throw new Exception("Unknown view selected"); } } public void closeDialog() { if(dialog == null) return; dialog.setVisible(false); dialog.dispose(); dialog = null; } public void openNewGameDialog() { closeDialog(); newGameDialog = new NewGameDialog(view,this); newGameDialog.setVisible(true); } public void closeNewGameDialog() { if(newGameDialog == null) return; newGameDialog.setVisible(false); newGameDialog.dispose(); newGameDialog = null; } public void exit() { System.exit(0); } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
b659b245b52b1bc5c4809a5d350e2c3535059e26
16cfeb9d21e64743229990bf91aff4f2572bf106
/src/main/java/org/primefaces/omega/view/chart/ChartView.java
25eeedd050c7d9e3e87757ee2e3d32027361a008
[]
no_license
nekrapula99/spring-boot-Prime-gestionApp-Edifzube
9642a411b920393a508ce5ba7b5bb9f532b11b63
db0f980a2f4c513342a0771482d062ffc5b3b7c4
refs/heads/master
2022-12-15T00:08:24.218265
2020-09-11T17:51:40
2020-09-11T17:51:40
281,269,112
0
0
null
null
null
null
UTF-8
Java
false
false
21,315
java
/* * Copyright 2009-2014 PrimeTek. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.primefaces.omega.view.chart; import org.primefaces.event.ItemSelectEvent; import org.primefaces.model.chart.*; import javax.annotation.PostConstruct; import javax.enterprise.context.RequestScoped; import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import javax.inject.Named; import java.io.Serializable; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; @Named @RequestScoped public class ChartView implements Serializable { private LineChartModel lineModel1; private LineChartModel lineModel2; private LineChartModel zoomModel; private CartesianChartModel combinedModel; private CartesianChartModel fillToZero; private LineChartModel areaModel; private BarChartModel barModel; private HorizontalBarChartModel horizontalBarModel; private PieChartModel pieModel1; private PieChartModel pieModel2; private DonutChartModel donutModel1; private DonutChartModel donutModel2; private MeterGaugeChartModel meterGaugeModel1; private MeterGaugeChartModel meterGaugeModel2; private BubbleChartModel bubbleModel1; private BubbleChartModel bubbleModel2; private OhlcChartModel ohlcModel; private OhlcChartModel ohlcModel2; private PieChartModel livePieModel; private LineChartModel animatedModel1; private BarChartModel animatedModel2; private LineChartModel multiAxisModel; private LineChartModel dateModel; @PostConstruct public void init() { createLineModels(); createAreaModel(); createPieModels(); createDonutModels(); createBubbleModels(); createOhlcModels(); createFillToZero(); createMeterGaugeModels(); createBarModels(); createAnimatedModels(); createCombinedModel(); createMultiAxisModel(); createDateModel(); } public void itemSelect(ItemSelectEvent event) { FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Item selected", "Item Index: " + event.getItemIndex() + ", Series Index:" + event.getSeriesIndex()); FacesContext.getCurrentInstance().addMessage(null, msg); } public LineChartModel getLineModel1() { return lineModel1; } public LineChartModel getLineModel2() { return lineModel2; } public LineChartModel getZoomModel() { return zoomModel; } public CartesianChartModel getCombinedModel() { return combinedModel; } public CartesianChartModel getAreaModel() { return areaModel; } public PieChartModel getPieModel1() { return pieModel1; } public PieChartModel getPieModel2() { return pieModel2; } public MeterGaugeChartModel getMeterGaugeModel1() { return meterGaugeModel1; } public MeterGaugeChartModel getMeterGaugeModel2() { return meterGaugeModel2; } public DonutChartModel getDonutModel1() { return donutModel1; } public DonutChartModel getDonutModel2() { return donutModel2; } public CartesianChartModel getFillToZero() { return fillToZero; } public BubbleChartModel getBubbleModel1() { return bubbleModel1; } public BubbleChartModel getBubbleModel2() { return bubbleModel2; } public OhlcChartModel getOhlcModel() { return ohlcModel; } public OhlcChartModel getOhlcModel2() { return ohlcModel2; } public BarChartModel getBarModel() { return barModel; } public HorizontalBarChartModel getHorizontalBarModel() { return horizontalBarModel; } public LineChartModel getAnimatedModel1() { return animatedModel1; } public BarChartModel getAnimatedModel2() { return animatedModel2; } public LineChartModel getMultiAxisModel() { return multiAxisModel; } public LineChartModel getDateModel() { return dateModel; } public PieChartModel getLivePieModel() { int random1 = (int) (Math.random() * 1000); int random2 = (int) (Math.random() * 1000); livePieModel.getData().put("Candidate 1", random1); livePieModel.getData().put("Candidate 2", random2); livePieModel.setTitle("Votes"); livePieModel.setLegendPosition("ne"); return livePieModel; } private LineChartModel initCategoryModel() { LineChartModel model = new LineChartModel(); ChartSeries boys = new ChartSeries(); boys.setLabel("Boys"); boys.set("2004", 120); boys.set("2005", 100); boys.set("2006", 44); boys.set("2007", 150); boys.set("2008", 25); ChartSeries girls = new ChartSeries(); girls.setLabel("Girls"); girls.set("2004", 52); girls.set("2005", 60); girls.set("2006", 110); girls.set("2007", 90); girls.set("2008", 120); model.addSeries(boys); model.addSeries(girls); return model; } private void createLineModels() { lineModel1 = initLinearModel(); lineModel1.setTitle("Linear Chart"); lineModel1.setLegendPosition("e"); Axis yAxis = lineModel1.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(10); lineModel2 = initCategoryModel(); lineModel2.setTitle("Category Chart"); lineModel2.setLegendPosition("e"); lineModel2.setShowPointLabels(true); lineModel2.getAxes().put(AxisType.X, new CategoryAxis("Years")); yAxis = lineModel2.getAxis(AxisType.Y); yAxis.setLabel("Births"); yAxis.setMin(0); yAxis.setMax(200); zoomModel = initLinearModel(); zoomModel.setTitle("Zoom"); zoomModel.setZoom(true); zoomModel.setLegendPosition("e"); yAxis = zoomModel.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(10); } private void createAreaModel() { areaModel = new LineChartModel(); LineChartSeries boys = new LineChartSeries(); boys.setFill(true); boys.setLabel("Boys"); boys.set("2004", 120); boys.set("2005", 100); boys.set("2006", 44); boys.set("2007", 150); boys.set("2008", 25); LineChartSeries girls = new LineChartSeries(); girls.setFill(true); girls.setLabel("Girls"); girls.set("2004", 52); girls.set("2005", 60); girls.set("2006", 110); girls.set("2007", 90); girls.set("2008", 120); areaModel.addSeries(boys); areaModel.addSeries(girls); areaModel.setTitle("Area Chart"); areaModel.setLegendPosition("ne"); areaModel.setStacked(true); areaModel.setShowPointLabels(true); Axis xAxis = new CategoryAxis("Years"); areaModel.getAxes().put(AxisType.X, xAxis); Axis yAxis = areaModel.getAxis(AxisType.Y); yAxis.setLabel("Births"); yAxis.setMin(0); yAxis.setMax(300); } private BarChartModel initBarModel() { BarChartModel model = new BarChartModel(); ChartSeries boys = new ChartSeries(); boys.setLabel("Boys"); boys.set("2004", 120); boys.set("2005", 100); boys.set("2006", 44); boys.set("2007", 150); boys.set("2008", 25); ChartSeries girls = new ChartSeries(); girls.setLabel("Girls"); girls.set("2004", 52); girls.set("2005", 60); girls.set("2006", 110); girls.set("2007", 135); girls.set("2008", 120); model.addSeries(boys); model.addSeries(girls); return model; } private void createBarModels() { createBarModel(); createHorizontalBarModel(); } private void createBarModel() { barModel = initBarModel(); barModel.setTitle("Bar Chart"); barModel.setLegendPosition("ne"); Axis xAxis = barModel.getAxis(AxisType.X); xAxis.setLabel("Gender"); Axis yAxis = barModel.getAxis(AxisType.Y); yAxis.setLabel("Births"); yAxis.setMin(0); yAxis.setMax(200); } private void createHorizontalBarModel() { horizontalBarModel = new HorizontalBarChartModel(); ChartSeries boys = new ChartSeries(); boys.setLabel("Boys"); boys.set("2004", 50); boys.set("2005", 96); boys.set("2006", 44); boys.set("2007", 55); boys.set("2008", 25); ChartSeries girls = new ChartSeries(); girls.setLabel("Girls"); girls.set("2004", 52); girls.set("2005", 60); girls.set("2006", 82); girls.set("2007", 35); girls.set("2008", 120); horizontalBarModel.addSeries(boys); horizontalBarModel.addSeries(girls); horizontalBarModel.setTitle("Horizontal and Stacked"); horizontalBarModel.setLegendPosition("e"); horizontalBarModel.setStacked(true); Axis xAxis = horizontalBarModel.getAxis(AxisType.X); xAxis.setLabel("Births"); xAxis.setMin(0); xAxis.setMax(200); Axis yAxis = horizontalBarModel.getAxis(AxisType.Y); yAxis.setLabel("Gender"); } private void createCombinedModel() { combinedModel = new BarChartModel(); BarChartSeries boys = new BarChartSeries(); boys.setLabel("Boys"); boys.set("2004", 120); boys.set("2005", 100); boys.set("2006", 44); boys.set("2007", 150); boys.set("2008", 25); LineChartSeries girls = new LineChartSeries(); girls.setLabel("Girls"); girls.set("2004", 52); girls.set("2005", 60); girls.set("2006", 110); girls.set("2007", 135); girls.set("2008", 120); combinedModel.addSeries(boys); combinedModel.addSeries(girls); combinedModel.setTitle("Bar and Line"); combinedModel.setLegendPosition("ne"); combinedModel.setMouseoverHighlight(false); combinedModel.setShowDatatip(false); combinedModel.setShowPointLabels(true); Axis yAxis = combinedModel.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(200); } private void createMultiAxisModel() { multiAxisModel = new LineChartModel(); BarChartSeries boys = new BarChartSeries(); boys.setLabel("Boys"); boys.set("2004", 120); boys.set("2005", 100); boys.set("2006", 44); boys.set("2007", 150); boys.set("2008", 25); LineChartSeries girls = new LineChartSeries(); girls.setLabel("Girls"); girls.setXaxis(AxisType.X2); girls.setYaxis(AxisType.Y2); girls.set("A", 52); girls.set("B", 60); girls.set("C", 110); girls.set("D", 135); girls.set("E", 120); multiAxisModel.addSeries(boys); multiAxisModel.addSeries(girls); multiAxisModel.setTitle("Multi Axis Chart"); multiAxisModel.setMouseoverHighlight(false); multiAxisModel.getAxes().put(AxisType.X, new CategoryAxis("Years")); multiAxisModel.getAxes().put(AxisType.X2, new CategoryAxis("Period")); Axis yAxis = multiAxisModel.getAxis(AxisType.Y); yAxis.setLabel("Birth"); yAxis.setMin(0); yAxis.setMax(200); Axis y2Axis = new LinearAxis("Number"); y2Axis.setMin(0); y2Axis.setMax(200); multiAxisModel.getAxes().put(AxisType.Y2, y2Axis); } private void createOhlcModels() { createOhlcModel1(); createOhlcModel2(); } private void createOhlcModel1() { ohlcModel = new OhlcChartModel(); ohlcModel.add(new OhlcChartSeries(2007, 143.82, 144.56, 136.04, 136.97)); ohlcModel.add(new OhlcChartSeries(2008, 138.7, 139.68, 135.18, 135.4)); ohlcModel.add(new OhlcChartSeries(2009, 143.46, 144.66, 139.79, 140.02)); ohlcModel.add(new OhlcChartSeries(2010, 140.67, 143.56, 132.88, 142.44)); ohlcModel.add(new OhlcChartSeries(2011, 136.01, 139.5, 134.53, 139.48)); ohlcModel.add(new OhlcChartSeries(2012, 124.76, 135.9, 124.55, 135.81)); ohlcModel.add(new OhlcChartSeries(2013, 123.73, 129.31, 121.57, 122.5)); ohlcModel.setTitle("OHLC Chart"); ohlcModel.getAxis(AxisType.X).setLabel("Year"); ohlcModel.getAxis(AxisType.Y).setLabel("Price Change $K/Unit"); } private void createOhlcModel2() { ohlcModel2 = new OhlcChartModel(); for (int i = 1; i < 41; i++) { ohlcModel2.add(new OhlcChartSeries(i, Math.random() * 80 + 80, Math.random() * 50 + 110, Math.random() * 20 + 80, Math.random() * 80 + 80)); } ohlcModel2.setTitle("Candlestick"); ohlcModel2.setCandleStick(true); ohlcModel2.getAxis(AxisType.X).setLabel("Sector"); ohlcModel2.getAxis(AxisType.Y).setLabel("Index Value"); } private void createBubbleModels() { bubbleModel1 = initBubbleModel(); bubbleModel1.setTitle("Bubble Chart"); bubbleModel1.getAxis(AxisType.X).setLabel("Price"); Axis yAxis = bubbleModel1.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(250); yAxis.setLabel("Labels"); bubbleModel2 = initBubbleModel(); bubbleModel2.setTitle("Custom Options"); bubbleModel2.setShadow(false); bubbleModel2.setBubbleGradients(true); bubbleModel2.setBubbleAlpha(0.8); bubbleModel2.getAxis(AxisType.X).setTickAngle(-50); yAxis = bubbleModel2.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(250); yAxis.setTickAngle(50); } private BubbleChartModel initBubbleModel() { BubbleChartModel model = new BubbleChartModel(); model.add(new BubbleChartSeries("Acura", 70, 183, 55)); model.add(new BubbleChartSeries("Alfa Romeo", 45, 92, 36)); model.add(new BubbleChartSeries("AM General", 24, 104, 40)); model.add(new BubbleChartSeries("Bugatti", 50, 123, 60)); model.add(new BubbleChartSeries("BMW", 15, 89, 25)); model.add(new BubbleChartSeries("Audi", 40, 180, 80)); model.add(new BubbleChartSeries("Aston Martin", 70, 70, 48)); return model; } private LineChartModel initLinearModel() { LineChartModel model = new LineChartModel(); LineChartSeries series1 = new LineChartSeries(); series1.setLabel("Series 1"); series1.set(1, 2); series1.set(2, 1); series1.set(3, 3); series1.set(4, 6); series1.set(5, 8); LineChartSeries series2 = new LineChartSeries(); series2.setLabel("Series 2"); series2.set(1, 6); series2.set(2, 3); series2.set(3, 2); series2.set(4, 7); series2.set(5, 9); model.addSeries(series1); model.addSeries(series2); return model; } private void createPieModels() { createPieModel1(); createPieModel2(); createLivePieModel(); } private void createPieModel1() { pieModel1 = new PieChartModel(); pieModel1.set("Brand 1", 540); pieModel1.set("Brand 2", 325); pieModel1.set("Brand 3", 702); pieModel1.set("Brand 4", 421); pieModel1.setTitle("Simple Pie"); pieModel1.setLegendPosition("w"); pieModel1.setShadow(false); } private void createPieModel2() { pieModel2 = new PieChartModel(); pieModel2.set("Brand 1", 540); pieModel2.set("Brand 2", 325); pieModel2.set("Brand 3", 702); pieModel2.set("Brand 4", 421); pieModel2.setTitle("Custom Pie"); pieModel2.setLegendPosition("e"); pieModel2.setFill(false); pieModel2.setShowDataLabels(true); pieModel2.setDiameter(150); pieModel2.setShadow(false); } private void createDonutModels() { donutModel1 = initDonutModel(); donutModel1.setTitle("Donut Chart"); donutModel1.setLegendPosition("w"); donutModel2 = initDonutModel(); donutModel2.setTitle("Custom Options"); donutModel2.setLegendPosition("e"); donutModel2.setSliceMargin(5); donutModel2.setShowDataLabels(true); donutModel2.setDataFormat("value"); donutModel2.setShadow(false); } private DonutChartModel initDonutModel() { DonutChartModel model = new DonutChartModel(); Map<String, Number> circle1 = new LinkedHashMap<String, Number>(); circle1.put("Brand 1", 150); circle1.put("Brand 2", 400); circle1.put("Brand 3", 200); circle1.put("Brand 4", 10); model.addCircle(circle1); Map<String, Number> circle2 = new LinkedHashMap<String, Number>(); circle2.put("Brand 1", 540); circle2.put("Brand 2", 125); circle2.put("Brand 3", 702); circle2.put("Brand 4", 421); model.addCircle(circle2); Map<String, Number> circle3 = new LinkedHashMap<String, Number>(); circle3.put("Brand 1", 40); circle3.put("Brand 2", 325); circle3.put("Brand 3", 402); circle3.put("Brand 4", 421); model.addCircle(circle3); return model; } private void createLivePieModel() { livePieModel = new PieChartModel(); livePieModel.set("Candidate 1", 540); livePieModel.set("Candidate 2", 325); } private void createFillToZero() { fillToZero = new CartesianChartModel(); LineChartSeries series1 = new LineChartSeries(); series1.setLabel("Series 1"); series1.set("4, -3, 3, 6, 2, -2", 0); fillToZero.addSeries(series1); } private MeterGaugeChartModel initMeterGaugeModel() { List<Number> intervals = new ArrayList<Number>() { { add(20); add(50); add(120); add(220); } }; return new MeterGaugeChartModel(140, intervals); } private void createMeterGaugeModels() { meterGaugeModel1 = initMeterGaugeModel(); meterGaugeModel1.setTitle("MeterGauge Chart"); meterGaugeModel1.setGaugeLabel("km/h"); meterGaugeModel1.setGaugeLabelPosition("bottom"); meterGaugeModel2 = initMeterGaugeModel(); meterGaugeModel2.setTitle("Custom Options"); meterGaugeModel2.setSeriesColors("66cc66,93b75f,E7E658,cc6666"); meterGaugeModel2.setGaugeLabel("km/h"); meterGaugeModel2.setGaugeLabelPosition("bottom"); meterGaugeModel2.setShowTickLabels(false); meterGaugeModel2.setLabelHeightAdjust(110); meterGaugeModel2.setIntervalOuterRadius(100); } private void createAnimatedModels() { animatedModel1 = initLinearModel(); animatedModel1.setTitle("Line Chart"); animatedModel1.setAnimate(true); animatedModel1.setLegendPosition("se"); Axis yAxis = animatedModel1.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(10); animatedModel2 = initBarModel(); animatedModel2.setTitle("Bar Charts"); animatedModel2.setAnimate(true); animatedModel2.setLegendPosition("ne"); yAxis = animatedModel2.getAxis(AxisType.Y); yAxis.setMin(0); yAxis.setMax(200); } private void createDateModel() { dateModel = new LineChartModel(); LineChartSeries series1 = new LineChartSeries(); series1.setLabel("Series 1"); series1.set("2014-01-01", 51); series1.set("2014-01-06", 22); series1.set("2014-01-12", 65); series1.set("2014-01-18", 74); series1.set("2014-01-24", 24); series1.set("2014-01-30", 51); LineChartSeries series2 = new LineChartSeries(); series2.setLabel("Series 2"); series2.set("2014-01-01", 32); series2.set("2014-01-06", 73); series2.set("2014-01-12", 24); series2.set("2014-01-18", 12); series2.set("2014-01-24", 74); series2.set("2014-01-30", 62); dateModel.addSeries(series1); dateModel.addSeries(series2); dateModel.setTitle("Zoom for Details"); dateModel.setZoom(true); dateModel.getAxis(AxisType.Y).setLabel("Values"); DateAxis axis = new DateAxis("Dates"); axis.setTickAngle(-50); axis.setMax("2014-02-01"); axis.setTickFormat("%b %#d, %y"); dateModel.getAxes().put(AxisType.X, axis); } }
[ "nosorio@bancolombia.com.co" ]
nosorio@bancolombia.com.co
f004c8929b191de1cd3a41c68daa7f195d3cd321
267a4fef6e027e799522b4ec4b19ffedb27a59d7
/app/src/main/java/ru/spbau/banksms/CardsListContent.java
130d34638ae49c2424da10ef1bdda1ba704f8770
[]
no_license
ComradePetr/BankSMS
342f9b6b8b64185d8560f2bfd5541faa66167c51
22605a1fdc284afea33da531415d32f75ceb606a
refs/heads/master
2021-01-10T17:40:00.649828
2016-03-13T20:12:11
2016-03-13T20:12:11
48,216,236
0
0
null
null
null
null
UTF-8
Java
false
false
965
java
package ru.spbau.banksms; import java.util.ArrayList; import java.util.List; public class CardsListContent { public static List<CardsListItem> items; public static List<CardsListItem> items(List<Card> cardsList, int chosenCardId) { ArrayList<CardsListItem> list = new ArrayList<>(); for (Card card : cardsList) { list.add(createItem(card, card.id == chosenCardId)); } items = list; return list; } private static CardsListItem createItem(Card card, boolean chosen) { return new CardsListItem(card.id, "Card #" + card.number + (chosen ? " (chosen)" : "")); } public static class CardsListItem { public int id; public String content; public CardsListItem(int id, String content) { this.id = id; this.content = content; } @Override public String toString() { return content; } } }
[ "Zenbook" ]
Zenbook
82c00fe873ae76eeb63aaf8f510c1f9092500da3
3b8b9f1e46e5c64a70245b5f8a9b4f71141e4914
/CarRentalManagementSystemLibrary/src/util/exception/CustomerNotFoundException.java
5b52867aa2432184d50f51dec697f5531608e34d
[]
no_license
darrelhong/carrentalmanagementsystem
5dde0b11d69daf7731c74cd9c40411c88b6b2a3b
ffd180e45b0319641a21c287c32361dd44144190
refs/heads/master
2022-03-19T18:03:24.852142
2019-11-10T07:30:19
2019-11-10T07:30:19
214,645,604
0
0
null
null
null
null
UTF-8
Java
false
false
559
java
package util.exception; /** * * @author darre */ public class CustomerNotFoundException extends Exception { /** * Creates a new instance of <code>CustomerNotFoundException</code> without * detail message. */ public CustomerNotFoundException() { } /** * Constructs an instance of <code>CustomerNotFoundException</code> with the * specified detail message. * * @param msg the detail message. */ public CustomerNotFoundException(String msg) { super(msg); } }
[ "darrel.hong@gmail.com" ]
darrel.hong@gmail.com
ec758e3567f5432e5964b43feff87db4231a236e
38e73c6c1ae95cb9f7b73bbb635faa62c47c15a8
/sistema-comercializadora/src/java/Comercializadora/models/Empleado.java
56766f9941eb35f209903e39c7a1af73e8eae066
[]
no_license
Chaoslecion123/JAVAEE
4f67ecbfbdcea86576e69132b44ffa35b253f4f0
80851ce74b28fa6555dab598ce24d51411678f57
refs/heads/master
2020-04-20T11:07:34.209770
2019-02-02T07:42:25
2019-02-02T07:42:25
168,807,368
0
0
null
null
null
null
UTF-8
Java
false
false
2,108
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Comercializadora.models; import java.util.Date; /** * * @author fernando */ public class Empleado { private long empleadoId; private String nombre; private String apellido; private Date fecha_nac; private int reporta_a; private int extension; private String jefe; public Empleado(long empleadoId, String nombre, String apellido, Date fecha_nac, int reporta_a, int extension) { this.empleadoId = empleadoId; this.nombre = nombre; this.apellido = apellido; this.fecha_nac = fecha_nac; this.reporta_a = reporta_a; this.extension = extension; } public Empleado(){ } public Empleado(long empleadoId){ this.empleadoId = empleadoId; } public long getEmpleadoId() { return empleadoId; } public void setEmpleadoId(long empleadoId) { this.empleadoId = empleadoId; } public String getNombre() { return nombre; } public void setNombre(String nombre) { this.nombre = nombre; } public String getApellido() { return apellido; } public void setApellido(String apellido) { this.apellido = apellido; } public Date getFecha_nac() { return fecha_nac; } public void setFecha_nac(Date fecha_nac) { this.fecha_nac = fecha_nac; } public int getReporta_a() { return reporta_a; } public void setReporta_a(int reporta_a) { this.reporta_a = reporta_a; } public int getExtension() { return extension; } public void setExtension(int extension) { this.extension = extension; } public String getJefe() { return jefe; } public void setJefe(String jefe) { this.jefe = jefe; } public String getNombreCompleto(){ return nombre + " " + apellido; } }
[ "fernandini_9696@hotmail.com" ]
fernandini_9696@hotmail.com
df6417fb5f3566ded53b66fc8938ec414d6f6b12
ce3ef388b9a7647b03d941eecfdcca4b948833df
/src/com/javarush/test/level29/lesson15/big01/human/Alive.java
8f71cd28c08cf5a1dcc11251e310fbe5aadfa317
[]
no_license
stanislasdp/Java1
5de719e6f5e153f377ee898bbc83a134e3c24018
9b08607d9a00be8eae4f66019dc7fa3aa1564598
refs/heads/master
2020-04-12T05:36:07.183311
2016-10-18T14:43:47
2016-10-18T14:43:47
60,642,509
0
0
null
null
null
null
UTF-8
Java
false
false
140
java
package com.javarush.test.level29.lesson15.big01.human; /** * Created by stas on 8/28/16. */ public interface Alive { void live(); }
[ "forempty@gmail.com" ]
forempty@gmail.com
e0a50e01207b2bc281dd870e300250b94c26aec8
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/25/25_23f1ffafcaf26cf687e83ea59a6ed2b5abf47ee1/AUFileLoader/25_23f1ffafcaf26cf687e83ea59a6ed2b5abf47ee1_AUFileLoader_t.java
79306d68d098a6671e6677851f27093ad663e950
[]
no_license
zhongxingyu/Seer
48e7e5197624d7afa94d23f849f8ea2075bcaec0
c11a3109fdfca9be337e509ecb2c085b60076213
refs/heads/master
2023-07-06T12:48:55.516692
2023-06-22T07:55:56
2023-06-22T07:55:56
259,613,157
6
2
null
2023-06-22T07:55:57
2020-04-28T11:07:49
null
UTF-8
Java
false
false
25,755
java
package com.seventhirtyfive; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Collections; import java.util.Vector; public class AUFileLoader { public static final int BATTER_LOAD = 1; public static final int PITCHER_LOAD = 2; public static final int TEAM_LOAD = 3; private String mFilePath; private int mLoadType; private int mYearToLoad; private Debug735 mDebug = PlayerRater.getDebugger(); private Debug735 mPitcherWindow = PlayerRater.getPitcherWindow(); private Debug735 mTeamWindow = PlayerRater.getTeamWindow(); private Vector<AUBatter> mBatterList = new Vector<AUBatter>(); private Vector<AUPitcher> mPitcherList = new Vector<AUPitcher>(); public AUFileLoader( String filepath, int loadType, int yearToLoad ) { mFilePath = filepath; mLoadType = loadType; mYearToLoad = yearToLoad; } public Vector<AUPlayer> get2009RookieHitters() { File f = new File(PlayerRater.BATTER_FILE_PREVIOUSYEAR); if (!f.exists()) { mDebug.log(PlayerRater.BATTER_FILE_PREVIOUSYEAR+" doesn't exist"); return null; } Vector<AUPlayer> vector = new Vector<AUPlayer>(); try { BufferedReader input = new BufferedReader(new FileReader(f)); // read twice to get the header out of the way input.readLine(); input.readLine(); // parse the players String player; while ((player = input.readLine()) != null) { String [] parsedLine = player.split("\t"); String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); int abs = Integer.parseInt(parsedLine[3]); if (abs <= 100) { // found a rookie, add to the list AUPlayer newPlayer = new AUPlayer(first, last, "OF"); vector.add(newPlayer); } } }catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return vector; } public Vector<AUBatter> getRookieHitters( String filepath ) { File f = new File(filepath); if (!f.exists()) { mDebug.log(filepath+" doesn't exist"); return null; } Vector<AUBatter> vector = new Vector<AUBatter>(); try { BufferedReader input = new BufferedReader(new FileReader(f)); // read twice to get the header out of the way input.readLine(); input.readLine(); // parse the players String player; while ((player = input.readLine()) != null) { String [] parsedLine = player.split("\t"); String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); int abs = Integer.parseInt(parsedLine[2]); if (abs * 3 < 100) { // found a rookie, add to the list AUBatter newPlayer = new AUBatter(first, last, "OF"); vector.add(newPlayer); } } }catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return vector; } public Vector<AUPlayer> get2009RookiePitchers() { File f = new File(PlayerRater.PITCHER_FILE_PREVIOUSYEAR); if (!f.exists()) { mDebug.log(PlayerRater.PITCHER_FILE_PREVIOUSYEAR+" doesn't exist"); return null; } Vector<AUPlayer> vector = new Vector<AUPlayer>(); try { BufferedReader input = new BufferedReader(new FileReader(f)); // read twice to get the header out of the way input.readLine(); input.readLine(); // parse the players String player; while ((player = input.readLine()) != null) { String [] parsedLine = player.split("\t"); String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); double innings = Double.parseDouble(parsedLine[3]); if (innings <= 50.0) { // found a rookie, add to the list AUPlayer newPlayer = new AUPlayer(first, last, "SP"); vector.add(newPlayer); } } }catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return vector; } public Vector<AUPitcher> getRookiePitchers( String filepath ) { File f = new File(filepath); if (!f.exists()) { mDebug.log(filepath+" doesn't exist"); return null; } Vector<AUPitcher> vector = new Vector<AUPitcher>(); try { BufferedReader input = new BufferedReader(new FileReader(f)); // read twice to get the header out of the way input.readLine(); input.readLine(); // parse the players String player; while ((player = input.readLine()) != null) { String [] parsedLine = player.split("\t"); String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); double innings = Double.parseDouble(parsedLine[2]); if (innings * 3 < 50.0) { // found a rookie, add to the list AUPitcher newPlayer = new AUPitcher(first, last, "SP"); vector.add(newPlayer); } } }catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return vector; } /** * This file takes a csv of players with a common position * * @param filepath - Path of the eligibility file * @param position - Position to set * @return */ public Vector<AUPlayer> getEligiblePlayers( String filepath, String position ) { File f = new File(filepath); if (!f.exists()) { mDebug.log(filepath+" doesn't exist"); return null; } Vector<AUPlayer> vector = new Vector<AUPlayer>(); try { BufferedReader input = new BufferedReader(new FileReader(f)); // read twice to get the header out of the way input.readLine(); input.readLine(); // parse the players String player; while ((player = input.readLine()) != null) { String [] parsedLine = player.split("\t"); String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); AUPlayer newPlayer = new AUPlayer(first, last, position); vector.add(newPlayer); } }catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return vector; } public boolean load() { File f = new File(mFilePath); if (!f.exists()) { mDebug.log(mFilePath+" doesn't exist"); return false; } try { BufferedReader input = new BufferedReader(new FileReader(f)); // read once to get the header out of the way input.readLine(); switch (mLoadType) { case BATTER_LOAD: return loadBatters(input); case PITCHER_LOAD: return loadPitchers(input); case TEAM_LOAD: return loadTeams(input); } } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return false; } private boolean loadTeams(BufferedReader reader) throws IOException { // throw away first line String player = reader.readLine(); // drop this line boolean loadingBatters = true; AULeague league = AULeague.getInstance(); // parse the teams while ((player = reader.readLine()) != null) { String [] parsedLine = player.split("\t"); if (parsedLine[0].startsWith("Team") || parsedLine[0].startsWith(PlayerRater.LASTYEAR)) { reader.readLine(); /// ignore this loadingBatters = false; continue; } if (loadingBatters && parsedLine.length > 2) { String teamName = parsedLine[0]; AUTeam team = new AUTeam(teamName); AUBatterStats bStats = team.getBatterStats(); bStats.setAb(Integer.parseInt(parsedLine[1])); bStats.setRuns(Integer.parseInt(parsedLine[2])); // parsedLine[3] total hits (calculated) bStats.set1B(Integer.parseInt(parsedLine[4])); bStats.set2B(Integer.parseInt(parsedLine[5])); bStats.set3B(Integer.parseInt(parsedLine[6])); bStats.setHr(Integer.parseInt(parsedLine[7])); bStats.setRbi(Integer.parseInt(parsedLine[8])); bStats.setBb(Integer.parseInt(parsedLine[9])); // parsedLine[10] Strikeouts bStats.setSb(Integer.parseInt(parsedLine[11])); // parsedLine[12] Caught stealing // parsedLine[13] OBP // parsedLine[14] SLG // parsedLine[15] Rank league.addTeam(team); } else { // batting is done, look up the team, then load the pitching stats AUTeam team = league.getTeam(parsedLine[0]); AUPitcherStats pStats = team.getPitcherStats(); pStats.setInnings(Float.parseFloat(parsedLine[1])); // parsedLine[2] Games started // parsedLine[3] Quality Starts // parsedLine[4] Complete games pStats.setWins(Integer.parseInt(parsedLine[5])); pStats.setLosses(Integer.parseInt(parsedLine[6])); pStats.setSaves(Integer.parseInt(parsedLine[7])); // parsedLine[8] Blown Saves pStats.setStrikeouts(Integer.parseInt(parsedLine[9])); pStats.setWalks(Integer.parseInt(parsedLine[10])); pStats.setHitsAgainst(Integer.parseInt(parsedLine[11])); pStats.setEra(Float.parseFloat(parsedLine[12])); // parsedLine[13] WHIP (calculated) } } mTeamWindow.addString(AUTeam.getBatterHeader()); for(int i = 0; i < league.getNumberOfTeams(); i++) { mTeamWindow.addString(league.getBatterLine(i)); } mTeamWindow.addString(AUTeam.getPitcherHeader()); for(int i = 0; i < league.getNumberOfTeams(); i++) { mTeamWindow.addString(league.getPitcherLine(i)); } System.out.println("ERA:"+league.getEraAverage()); System.out.println("Whip:"+league.getWhipAverage()); System.out.println("Strikeouts:"+league.getKAverage()); System.out.println("Innings:"+league.getInnAverage()); System.out.println("Wins:"+league.getWinAverage()); mTeamWindow.update(); return true; } private boolean loadPitchers(BufferedReader reader) throws IOException { // throw away first line String player = reader.readLine(); // drop this line mPitcherWindow.addString(AUPitcher.getPitcherHeader()); // parse the players while ((player = reader.readLine()) != null) { String [] parsedLine = player.split("\t"); // Last, First POS TEAM String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); String position = getPosition(parsedLine[0]); // TODO: this is wrong, I shouldn't be creating a new object, I should // be looking it up in a hashmap... AUPitcher pitcher = new AUPitcher(first, last, position); pitcher.setYear(mYearToLoad); String team = getTeam(parsedLine[0]); pitcher.setTeam(AUMlbTeamFactory.getTeam(true, team)); // parsedLine[1]; AU Team Name (not used) AUPitcherStats stats = pitcher.getStats(mYearToLoad); stats.setInnings(Float.parseFloat(parsedLine[2])); // 2012 added a dash, all values slide up // parsedLine[3] Games Started // parsedLine[4] Quality starts // parsedLine[5] Complete games stats.setWins(Integer.parseInt(parsedLine[6])); stats.setLosses(Integer.parseInt(parsedLine[7])); stats.setSaves(Integer.parseInt(parsedLine[8])); // parsedLine[9] Blown saves stats.setStrikeouts(Integer.parseInt(parsedLine[10])); stats.setWalks(Integer.parseInt(parsedLine[11])); stats.setHitsAgainst(Integer.parseInt(parsedLine[12])); // Only set the ERA if innings is > 0 if (stats.getInnings()>0.0f) { stats.setEra(Float.parseFloat(parsedLine[13])); } // parsedLine[14] Whip(Calculated) mPitcherList.add(pitcher); } if (mYearToLoad == AUPlayer.YEAR_2009) { // eligibility check checkPitcherEligibility(getEligiblePlayers(PlayerRater.mStartingPitcherFile, "SP"), "SP", AUPlayer.AUPlayerPosition.STARTING_PITCHER); checkPitcherEligibility(getEligiblePlayers(PlayerRater.mReliefPitcherFile, "RP"), "RP", AUPlayer.AUPlayerPosition.RELIEF_PITCHER); // rookie check checkForRookiePitchers(getRookiePitchers(PlayerRater.PITCHER_FILE_3YEAR_AVG), get2009RookiePitchers()); AUPitcher.SORT_TYPE = AUPitcher.SORT_PRICE; System.out.println("PITCHER: Sort by Price"); Collections.sort(mPitcherList); PlayerRater.getInstance().getPitcherStream().write("STARTING PITCHERS\n".getBytes()); outputPitcherPosition( AUPlayer.AUPlayerPosition.STARTING_PITCHER); PlayerRater.getInstance().getPitcherStream().write("\nRELIEF PITCHERS\n".getBytes()); outputPitcherPosition( AUPlayer.AUPlayerPosition.RELIEF_PITCHER); PlayerRater.getInstance().getPitcherStream().write("\nPITCHERS\n".getBytes()); outputPitcherPosition( AUPlayer.AUPlayerPosition.PITCHER); for(int i = 0; i < mPitcherList.size(); i++) { AUPitcher p = mPitcherList.get(i); mPitcherWindow.addString(p.toString()); } mPitcherWindow.update(); } return true; } private boolean loadBatters(BufferedReader reader) throws IOException { // throw away first line String player = reader.readLine(); // drop this line String output = AUBatter.getBatterHeader(); mDebug.addString(output); // parse the players while ((player = reader.readLine()) != null) { String [] parsedLine = player.split("\t"); // Last, First POS TEAM String last = getLastName(parsedLine[0]); String first = getFirstName(parsedLine[0]); String position = getPosition(parsedLine[0]); AUBatter batter = new AUBatter(first, last, position); batter.setYear(mYearToLoad); String team = getTeam(parsedLine[0]); batter.setTeam(AUMlbTeamFactory.getTeam(true, team)); // parsedLine[1]; AU Team Name (not used) AUBatterStats stats = batter.getStats(mYearToLoad); stats.setAb(Integer.parseInt(parsedLine[2])); stats.setRuns(Integer.parseInt(parsedLine[3])); // parsedLine[4]; Hits stats.set1B(Integer.parseInt(parsedLine[5])); stats.set2B(Integer.parseInt(parsedLine[6])); stats.set3B(Integer.parseInt(parsedLine[7])); stats.setHr(Integer.parseInt(parsedLine[8])); stats.setRbi(Integer.parseInt(parsedLine[9])); stats.setBb(Integer.parseInt(parsedLine[10])); // parsedLine[11] Strikeouts stats.setSb(Integer.parseInt(parsedLine[12])); // parsedLine[13] Caught Stealing // parsedLine[14] Batting average // parsedLine[15] On base // parsedLine[16] Slugging mBatterList.add(batter); //Debug735.PlayerRow pComp = new Debug735.PlayerRow(batter); //mDebug.addComponent(pComp); } setOverallRanking(); if (mYearToLoad == AUPlayer.YEAR_2009) { PlayerRater pr = PlayerRater.getInstance(); // eligibility check checkBatterEligibility(getEligiblePlayers(PlayerRater.mCatcherFile, "C"), "C", AUPlayer.AUPlayerPosition.CATCHER); checkBatterEligibility(getEligiblePlayers(PlayerRater.mFirstBaseFile, "1B"), "1B", AUPlayer.AUPlayerPosition.FIRSTBASE); checkBatterEligibility(getEligiblePlayers(PlayerRater.mSecondBaseFile, "2B"), "2B", AUPlayer.AUPlayerPosition.SECONDBASE); checkBatterEligibility(getEligiblePlayers(PlayerRater.mThirdBaseFile, "3B"), "3B", AUPlayer.AUPlayerPosition.THIRDBASE); checkBatterEligibility(getEligiblePlayers(PlayerRater.mShortStopFile, "SS"), "SS", AUPlayer.AUPlayerPosition.SHORTSTOP); checkBatterEligibility(getEligiblePlayers(PlayerRater.mOutfieldFile, "OF"), "OF", AUPlayer.AUPlayerPosition.OUTFIELD); // rookie check checkForRookieBatters( getRookieHitters(PlayerRater.BATTER_FILE_3YEAR_AVG), get2009RookieHitters() ); AUBatter.SORT_TYPE = AUBatter.SORT_PRICE; System.out.println("Sort by Price"); Collections.sort(mBatterList); PlayerRater.getInstance().getBatterStream().write("CATCHERS\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.CATCHER); PlayerRater.getInstance().getBatterStream().write("\nFIRST BASE\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.FIRSTBASE); PlayerRater.getInstance().getBatterStream().write("\nSECOND BASE\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.SECONDBASE); PlayerRater.getInstance().getBatterStream().write("\nTHIRD BASE\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.THIRDBASE); PlayerRater.getInstance().getBatterStream().write("\nSHORTSTOP\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.SHORTSTOP); PlayerRater.getInstance().getBatterStream().write("\nOUTFIELDERS\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.OUTFIELD); PlayerRater.getInstance().getBatterStream().write("\nBATTERS\n".getBytes()); outputBatterPosition(AUPlayer.AUPlayerPosition.DESIGNATEDHITTER); outputBatterPosition(AUPlayer.AUPlayerPosition.BATTER); for(int i = 0; i < mBatterList.size(); i++) { AUBatter b = mBatterList.get(i); //if (mBatterList.get(i).isEligible(AUPlayer.AUPlayerPosition.SECONDBASE)) { mDebug.addString(b.toString()); //} } pr.closeStream(pr.getBatterStream()); mDebug.update(); } return false; } private String getLastName(String s) { String [] parse = s.split(" "); String name = parse[0].replace("\"",""); String names[] = name.split(","); if(names.length > 1) { return names[1]; } else { return names[0].replace(",", ""); } } private String getFirstName(String s) { String [] parse = s.split(" "); if (AUPlayer.isStringPosition(parse[2])) { return parse[1]; } else if (parse[0].contains(",")) { String [] names = parse[0].split(","); return names[0].replace("\"", ""); } else { return parse[1]+" "+parse[2]; } } private String getPosition(String s) { String [] parse = s.split(" "); for( int i = 0; i < parse.length; i++ ){ if (AUPlayer.isStringPosition(parse[i])) { return parse[i]; } } mDebug.error("No position found!"); return null; } private String getTeam(String s){ String [] parse = s.split(" "); return parse[parse.length-1]; } private AUPlayer getPlayerFromList( Vector<AUPlayer> v, String firstName, String lastName ) { for (int j = 0; j < v.size(); j++) { AUPlayer p2 = v.elementAt(j); // if the first name and last name match AND the player is not already elig if ( firstName.equals(p2.getFirstName()) && lastName.equals(p2.getLastName())) { return p2; } } return null; } private void checkForRookieBatters( Vector<AUBatter> v, Vector<AUPlayer> v2009 ) { for (int i = 0; i < v.size(); i++) { AUBatter p = v.elementAt(i); for (int j = 0; j < mBatterList.size(); j++) { AUPlayer p2 = mBatterList.elementAt(j); // if the first name and last name match AND the player is not already elig if ( p.getFirstName().equals(p2.getFirstName()) && p.getLastName().equals(p2.getLastName())) { // check the 2009 list if (getPlayerFromList(v2009, p2.getFirstName(), p2.getLastName()) != null) { p2.setRookie(true); } } } } } private void checkForRookiePitchers( Vector<AUPitcher> v, Vector<AUPlayer> v2009 ) { for (int i = 0; i < v.size(); i++) { AUPitcher p = v.elementAt(i); for (int j = 0; j < mPitcherList.size(); j++) { AUPlayer p2 = mPitcherList.elementAt(j); // if the first name and last name match AND the player is not already elig if ( p.getFirstName().equals(p2.getFirstName()) && p.getLastName().equals(p2.getLastName())) { // check the 2009 list if (getPlayerFromList(v2009, p2.getFirstName(), p2.getLastName()) != null) { p2.setRookie(true); } } } } } private void checkBatterEligibility( Vector<AUPlayer> v, String pos, int position ) { // TODO: make this better, terribly inefficient for (int i = 0; i < v.size(); i++ ) { // get the next player in eligibility list AUPlayer p = v.elementAt(i); // walk the batter list to see if we get a name match for (int j = 0; j < mBatterList.size(); j++ ) { AUPlayer p2 = mBatterList.elementAt(j); // if the first name and last name match AND the player is not already elig if ( p.getFirstName().equals(p2.getFirstName()) && p.getLastName().equals(p2.getLastName())) { // NAME MATCH if (!p2.isEligible(position)) { // add the eligibility only if they are not already elig if (position == AUPlayer.AUPlayerPosition.OUTFIELD) { // special case this } p2.addPosition(pos); } break; // we found the name, break outta here } } } } private void checkPitcherEligibility( Vector<AUPlayer> v, String pos, int position ) { // TODO: make this better, terribly inefficient for (int i = 0; i < v.size(); i++ ) { // get the next player in eligibility list AUPlayer p = v.elementAt(i); // walk the batter list to see if we get a name match for (int j = 0; j < mPitcherList.size(); j++ ) { AUPlayer p2 = mPitcherList.elementAt(j); // if the first name and last name match AND the player is not already elig if ( p.getFirstName().equals(p2.getFirstName()) && p.getLastName().equals(p2.getLastName())) { // NAME MATCH if (!p2.isEligible(position)) { // add the eligibility only if they are not already elig p2.addPosition(pos); } break; // we found the name, break outta here } } } } private void outputBatterPosition( int position ) { PlayerRater pr = PlayerRater.getInstance(); for(int i = 0; i < mBatterList.size(); i++) { AUBatter b = mBatterList.get(i); if (position==AUPlayer.AUPlayerPosition.OUTFIELD) { if (mBatterList.get(i).isEligible(AUPlayer.AUPlayerPosition.OUTFIELD) || mBatterList.get(i).isEligible(AUPlayer.AUPlayerPosition.LEFTFIELD) || mBatterList.get(i).isEligible(AUPlayer.AUPlayerPosition.RIGHTFIELD) || mBatterList.get(i).isEligible(AUPlayer.AUPlayerPosition.CENTERFIELD) ){ b.writePlayer(pr.getBatterStream()); } } else if (mBatterList.get(i).isEligible(position)) { b.writePlayer(pr.getBatterStream()); } } } private void outputPitcherPosition( int position ) { PlayerRater pr = PlayerRater.getInstance(); for(int i = 0; i < mPitcherList.size(); i++) { AUPitcher p = mPitcherList.get(i); if (mPitcherList.get(i).isEligible(position)) { p.writePlayer(pr.getPitcherStream()); } } } private void setOverallRanking( ) { AUBatter.SORT_TYPE = AUBatter.SORT_AVG; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setAvgRank(i); } AUBatter.SORT_TYPE = AUBatter.SORT_HRS; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setHrRank(i); } AUBatter.SORT_TYPE = AUBatter.SORT_OPS; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setOpsRank(i); } AUBatter.SORT_TYPE = AUBatter.SORT_RBI; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setRbiRank(i); } AUBatter.SORT_TYPE = AUBatter.SORT_RUNS; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setRunRank(i); } AUBatter.SORT_TYPE = AUBatter.SORT_SB; Collections.sort(mBatterList); for(int i = 0; i < mBatterList.size(); i++) { mBatterList.get(i).setSbRank(i); } } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
d43d1b5a426fe288f56607aca405ae68f77b845c
68159c6e88392c2fc78aaae2ac0e9519a583fbeb
/2A/GLS/Projet/fr.enseeiht.gls.projet404.games.ide/src-gen/fr/enseeiht/gls/projet404/ide/contentassist/antlr/internal/InternalGamesParser.java
8adc954057b3023f2007735293abefaaebb400eb
[]
no_license
AnassBOUIRDI/ENSEEIHT
0169488e641a35b20214ec9fa53c1d3e7b53e306
fbfc2501fd9d8cf23a04fe776567d0217029a3f5
refs/heads/master
2020-05-24T16:05:19.286465
2017-12-18T15:55:20
2017-12-18T15:55:20
null
0
0
null
null
null
null
UTF-8
Java
false
false
768,899
java
package fr.enseeiht.gls.projet404.ide.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.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; import fr.enseeiht.gls.projet404.services.GamesGrammarAccess; import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; @SuppressWarnings("all") public class InternalGamesParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'TAKE_PATH'", "'TAKE_ITEM'", "'LEARN_KNOWLEDGE'", "'QUIT'", "'CONSUME_ITEM'", "'game'", "':'", "'places'", "'['", "']'", "'people'", "'path'", "'startPlace'", "'endPlace'", "','", "'knowledge'", "'items'", "'recipes'", "'difficulty'", "'{'", "'sizeMax'", "'}'", "'player'", "'description'", "'visible'", "'active'", "'isMandatory'", "'conditionsVisible'", "'conditionsActive'", "'isOpen'", "'conditionsOpen'", "'knowledgesGiven'", "'itemsGiven'", "'itemsConsumed'", "'item'", "'size'", "'canPutDown'", "'conditionsPutDown'", "'conditionsGive'", "'conditionsConsumed'", "'('", "')'", "'recipe'", "'itemsUsed'", "'itemsMade'", "'conditions'", "'place'", "'paths'", "'condition'", "'action'", "'value'", "'nextInteraction'", "'knowledgeGiven'", "'conditionsActionsAvailable'", "'interaction'", "'propositions'", "'conditionsBegin'", "'conditionsEnd'", "'proposition'" }; public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; public static final int T__59=59; 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__11=11; public static final int T__55=55; public static final int T__12=12; public static final int T__56=56; public static final int T__13=13; public static final int T__57=57; public static final int T__14=14; 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 T__26=26; public static final int T__27=27; public static final int T__28=28; public static final int RULE_INT=5; public static final int T__29=29; public static final int T__22=22; public static final int T__66=66; public static final int RULE_ML_COMMENT=7; public static final int T__23=23; public static final int T__67=67; public static final int T__24=24; public static final int T__68=68; public static final int T__25=25; 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__20=20; public static final int T__64=64; public static final int T__21=21; public static final int T__65=65; public static final int RULE_STRING=6; public static final int RULE_SL_COMMENT=8; 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 EOF=-1; 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 RULE_WS=9; public static final int RULE_ANY_OTHER=10; 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; // delegates // delegators public InternalGamesParser(TokenStream input) { this(input, new RecognizerSharedState()); } public InternalGamesParser(TokenStream input, RecognizerSharedState state) { super(input, state); } public String[] getTokenNames() { return InternalGamesParser.tokenNames; } public String getGrammarFileName() { return "InternalGames.g"; } private GamesGrammarAccess grammarAccess; public void setGrammarAccess(GamesGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } @Override protected Grammar getGrammar() { return grammarAccess.getGrammar(); } @Override protected String getValueForTokenName(String tokenName) { return tokenName; } // $ANTLR start "entryRuleGame" // InternalGames.g:53:1: entryRuleGame : ruleGame EOF ; public final void entryRuleGame() throws RecognitionException { try { // InternalGames.g:54:1: ( ruleGame EOF ) // InternalGames.g:55:1: ruleGame EOF { before(grammarAccess.getGameRule()); pushFollow(FOLLOW_1); ruleGame(); state._fsp--; after(grammarAccess.getGameRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleGame" // $ANTLR start "ruleGame" // InternalGames.g:62:1: ruleGame : ( ( rule__Game__Group__0 ) ) ; public final void ruleGame() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:66:2: ( ( ( rule__Game__Group__0 ) ) ) // InternalGames.g:67:2: ( ( rule__Game__Group__0 ) ) { // InternalGames.g:67:2: ( ( rule__Game__Group__0 ) ) // InternalGames.g:68:3: ( rule__Game__Group__0 ) { before(grammarAccess.getGameAccess().getGroup()); // InternalGames.g:69:3: ( rule__Game__Group__0 ) // InternalGames.g:69:4: rule__Game__Group__0 { pushFollow(FOLLOW_2); rule__Game__Group__0(); state._fsp--; } after(grammarAccess.getGameAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleGame" // $ANTLR start "entryRuleDifficulty" // InternalGames.g:78:1: entryRuleDifficulty : ruleDifficulty EOF ; public final void entryRuleDifficulty() throws RecognitionException { try { // InternalGames.g:79:1: ( ruleDifficulty EOF ) // InternalGames.g:80:1: ruleDifficulty EOF { before(grammarAccess.getDifficultyRule()); pushFollow(FOLLOW_1); ruleDifficulty(); state._fsp--; after(grammarAccess.getDifficultyRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleDifficulty" // $ANTLR start "ruleDifficulty" // InternalGames.g:87:1: ruleDifficulty : ( ( rule__Difficulty__Group__0 ) ) ; public final void ruleDifficulty() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:91:2: ( ( ( rule__Difficulty__Group__0 ) ) ) // InternalGames.g:92:2: ( ( rule__Difficulty__Group__0 ) ) { // InternalGames.g:92:2: ( ( rule__Difficulty__Group__0 ) ) // InternalGames.g:93:3: ( rule__Difficulty__Group__0 ) { before(grammarAccess.getDifficultyAccess().getGroup()); // InternalGames.g:94:3: ( rule__Difficulty__Group__0 ) // InternalGames.g:94:4: rule__Difficulty__Group__0 { pushFollow(FOLLOW_2); rule__Difficulty__Group__0(); state._fsp--; } after(grammarAccess.getDifficultyAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleDifficulty" // $ANTLR start "entryRulePlayer" // InternalGames.g:103:1: entryRulePlayer : rulePlayer EOF ; public final void entryRulePlayer() throws RecognitionException { try { // InternalGames.g:104:1: ( rulePlayer EOF ) // InternalGames.g:105:1: rulePlayer EOF { before(grammarAccess.getPlayerRule()); pushFollow(FOLLOW_1); rulePlayer(); state._fsp--; after(grammarAccess.getPlayerRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRulePlayer" // $ANTLR start "rulePlayer" // InternalGames.g:112:1: rulePlayer : ( ( rule__Player__Group__0 ) ) ; public final void rulePlayer() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:116:2: ( ( ( rule__Player__Group__0 ) ) ) // InternalGames.g:117:2: ( ( rule__Player__Group__0 ) ) { // InternalGames.g:117:2: ( ( rule__Player__Group__0 ) ) // InternalGames.g:118:3: ( rule__Player__Group__0 ) { before(grammarAccess.getPlayerAccess().getGroup()); // InternalGames.g:119:3: ( rule__Player__Group__0 ) // InternalGames.g:119:4: rule__Player__Group__0 { pushFollow(FOLLOW_2); rule__Player__Group__0(); state._fsp--; } after(grammarAccess.getPlayerAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rulePlayer" // $ANTLR start "entryRulePeople" // InternalGames.g:128:1: entryRulePeople : rulePeople EOF ; public final void entryRulePeople() throws RecognitionException { try { // InternalGames.g:129:1: ( rulePeople EOF ) // InternalGames.g:130:1: rulePeople EOF { before(grammarAccess.getPeopleRule()); pushFollow(FOLLOW_1); rulePeople(); state._fsp--; after(grammarAccess.getPeopleRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRulePeople" // $ANTLR start "rulePeople" // InternalGames.g:137:1: rulePeople : ( ( rule__People__Group__0 ) ) ; public final void rulePeople() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:141:2: ( ( ( rule__People__Group__0 ) ) ) // InternalGames.g:142:2: ( ( rule__People__Group__0 ) ) { // InternalGames.g:142:2: ( ( rule__People__Group__0 ) ) // InternalGames.g:143:3: ( rule__People__Group__0 ) { before(grammarAccess.getPeopleAccess().getGroup()); // InternalGames.g:144:3: ( rule__People__Group__0 ) // InternalGames.g:144:4: rule__People__Group__0 { pushFollow(FOLLOW_2); rule__People__Group__0(); state._fsp--; } after(grammarAccess.getPeopleAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rulePeople" // $ANTLR start "entryRulePath" // InternalGames.g:153:1: entryRulePath : rulePath EOF ; public final void entryRulePath() throws RecognitionException { try { // InternalGames.g:154:1: ( rulePath EOF ) // InternalGames.g:155:1: rulePath EOF { before(grammarAccess.getPathRule()); pushFollow(FOLLOW_1); rulePath(); state._fsp--; after(grammarAccess.getPathRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRulePath" // $ANTLR start "rulePath" // InternalGames.g:162:1: rulePath : ( ( rule__Path__Group__0 ) ) ; public final void rulePath() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:166:2: ( ( ( rule__Path__Group__0 ) ) ) // InternalGames.g:167:2: ( ( rule__Path__Group__0 ) ) { // InternalGames.g:167:2: ( ( rule__Path__Group__0 ) ) // InternalGames.g:168:3: ( rule__Path__Group__0 ) { before(grammarAccess.getPathAccess().getGroup()); // InternalGames.g:169:3: ( rule__Path__Group__0 ) // InternalGames.g:169:4: rule__Path__Group__0 { pushFollow(FOLLOW_2); rule__Path__Group__0(); state._fsp--; } after(grammarAccess.getPathAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rulePath" // $ANTLR start "entryRuleItem" // InternalGames.g:178:1: entryRuleItem : ruleItem EOF ; public final void entryRuleItem() throws RecognitionException { try { // InternalGames.g:179:1: ( ruleItem EOF ) // InternalGames.g:180:1: ruleItem EOF { before(grammarAccess.getItemRule()); pushFollow(FOLLOW_1); ruleItem(); state._fsp--; after(grammarAccess.getItemRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleItem" // $ANTLR start "ruleItem" // InternalGames.g:187:1: ruleItem : ( ( rule__Item__Group__0 ) ) ; public final void ruleItem() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:191:2: ( ( ( rule__Item__Group__0 ) ) ) // InternalGames.g:192:2: ( ( rule__Item__Group__0 ) ) { // InternalGames.g:192:2: ( ( rule__Item__Group__0 ) ) // InternalGames.g:193:3: ( rule__Item__Group__0 ) { before(grammarAccess.getItemAccess().getGroup()); // InternalGames.g:194:3: ( rule__Item__Group__0 ) // InternalGames.g:194:4: rule__Item__Group__0 { pushFollow(FOLLOW_2); rule__Item__Group__0(); state._fsp--; } after(grammarAccess.getItemAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleItem" // $ANTLR start "entryRuleItemInSomething" // InternalGames.g:203:1: entryRuleItemInSomething : ruleItemInSomething EOF ; public final void entryRuleItemInSomething() throws RecognitionException { try { // InternalGames.g:204:1: ( ruleItemInSomething EOF ) // InternalGames.g:205:1: ruleItemInSomething EOF { before(grammarAccess.getItemInSomethingRule()); pushFollow(FOLLOW_1); ruleItemInSomething(); state._fsp--; after(grammarAccess.getItemInSomethingRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleItemInSomething" // $ANTLR start "ruleItemInSomething" // InternalGames.g:212:1: ruleItemInSomething : ( ( rule__ItemInSomething__Group__0 ) ) ; public final void ruleItemInSomething() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:216:2: ( ( ( rule__ItemInSomething__Group__0 ) ) ) // InternalGames.g:217:2: ( ( rule__ItemInSomething__Group__0 ) ) { // InternalGames.g:217:2: ( ( rule__ItemInSomething__Group__0 ) ) // InternalGames.g:218:3: ( rule__ItemInSomething__Group__0 ) { before(grammarAccess.getItemInSomethingAccess().getGroup()); // InternalGames.g:219:3: ( rule__ItemInSomething__Group__0 ) // InternalGames.g:219:4: rule__ItemInSomething__Group__0 { pushFollow(FOLLOW_2); rule__ItemInSomething__Group__0(); state._fsp--; } after(grammarAccess.getItemInSomethingAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleItemInSomething" // $ANTLR start "entryRuleRecipe" // InternalGames.g:228:1: entryRuleRecipe : ruleRecipe EOF ; public final void entryRuleRecipe() throws RecognitionException { try { // InternalGames.g:229:1: ( ruleRecipe EOF ) // InternalGames.g:230:1: ruleRecipe EOF { before(grammarAccess.getRecipeRule()); pushFollow(FOLLOW_1); ruleRecipe(); state._fsp--; after(grammarAccess.getRecipeRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleRecipe" // $ANTLR start "ruleRecipe" // InternalGames.g:237:1: ruleRecipe : ( ( rule__Recipe__Group__0 ) ) ; public final void ruleRecipe() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:241:2: ( ( ( rule__Recipe__Group__0 ) ) ) // InternalGames.g:242:2: ( ( rule__Recipe__Group__0 ) ) { // InternalGames.g:242:2: ( ( rule__Recipe__Group__0 ) ) // InternalGames.g:243:3: ( rule__Recipe__Group__0 ) { before(grammarAccess.getRecipeAccess().getGroup()); // InternalGames.g:244:3: ( rule__Recipe__Group__0 ) // InternalGames.g:244:4: rule__Recipe__Group__0 { pushFollow(FOLLOW_2); rule__Recipe__Group__0(); state._fsp--; } after(grammarAccess.getRecipeAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleRecipe" // $ANTLR start "entryRuleKnowledge" // InternalGames.g:253:1: entryRuleKnowledge : ruleKnowledge EOF ; public final void entryRuleKnowledge() throws RecognitionException { try { // InternalGames.g:254:1: ( ruleKnowledge EOF ) // InternalGames.g:255:1: ruleKnowledge EOF { before(grammarAccess.getKnowledgeRule()); pushFollow(FOLLOW_1); ruleKnowledge(); state._fsp--; after(grammarAccess.getKnowledgeRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleKnowledge" // $ANTLR start "ruleKnowledge" // InternalGames.g:262:1: ruleKnowledge : ( ( rule__Knowledge__Group__0 ) ) ; public final void ruleKnowledge() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:266:2: ( ( ( rule__Knowledge__Group__0 ) ) ) // InternalGames.g:267:2: ( ( rule__Knowledge__Group__0 ) ) { // InternalGames.g:267:2: ( ( rule__Knowledge__Group__0 ) ) // InternalGames.g:268:3: ( rule__Knowledge__Group__0 ) { before(grammarAccess.getKnowledgeAccess().getGroup()); // InternalGames.g:269:3: ( rule__Knowledge__Group__0 ) // InternalGames.g:269:4: rule__Knowledge__Group__0 { pushFollow(FOLLOW_2); rule__Knowledge__Group__0(); state._fsp--; } after(grammarAccess.getKnowledgeAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleKnowledge" // $ANTLR start "entryRulePlace" // InternalGames.g:278:1: entryRulePlace : rulePlace EOF ; public final void entryRulePlace() throws RecognitionException { try { // InternalGames.g:279:1: ( rulePlace EOF ) // InternalGames.g:280:1: rulePlace EOF { before(grammarAccess.getPlaceRule()); pushFollow(FOLLOW_1); rulePlace(); state._fsp--; after(grammarAccess.getPlaceRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRulePlace" // $ANTLR start "rulePlace" // InternalGames.g:287:1: rulePlace : ( ( rule__Place__Group__0 ) ) ; public final void rulePlace() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:291:2: ( ( ( rule__Place__Group__0 ) ) ) // InternalGames.g:292:2: ( ( rule__Place__Group__0 ) ) { // InternalGames.g:292:2: ( ( rule__Place__Group__0 ) ) // InternalGames.g:293:3: ( rule__Place__Group__0 ) { before(grammarAccess.getPlaceAccess().getGroup()); // InternalGames.g:294:3: ( rule__Place__Group__0 ) // InternalGames.g:294:4: rule__Place__Group__0 { pushFollow(FOLLOW_2); rule__Place__Group__0(); state._fsp--; } after(grammarAccess.getPlaceAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rulePlace" // $ANTLR start "entryRuleItemInCondition" // InternalGames.g:303:1: entryRuleItemInCondition : ruleItemInCondition EOF ; public final void entryRuleItemInCondition() throws RecognitionException { try { // InternalGames.g:304:1: ( ruleItemInCondition EOF ) // InternalGames.g:305:1: ruleItemInCondition EOF { before(grammarAccess.getItemInConditionRule()); pushFollow(FOLLOW_1); ruleItemInCondition(); state._fsp--; after(grammarAccess.getItemInConditionRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleItemInCondition" // $ANTLR start "ruleItemInCondition" // InternalGames.g:312:1: ruleItemInCondition : ( ( rule__ItemInCondition__Group__0 ) ) ; public final void ruleItemInCondition() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:316:2: ( ( ( rule__ItemInCondition__Group__0 ) ) ) // InternalGames.g:317:2: ( ( rule__ItemInCondition__Group__0 ) ) { // InternalGames.g:317:2: ( ( rule__ItemInCondition__Group__0 ) ) // InternalGames.g:318:3: ( rule__ItemInCondition__Group__0 ) { before(grammarAccess.getItemInConditionAccess().getGroup()); // InternalGames.g:319:3: ( rule__ItemInCondition__Group__0 ) // InternalGames.g:319:4: rule__ItemInCondition__Group__0 { pushFollow(FOLLOW_2); rule__ItemInCondition__Group__0(); state._fsp--; } after(grammarAccess.getItemInConditionAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleItemInCondition" // $ANTLR start "entryRuleCondition" // InternalGames.g:328:1: entryRuleCondition : ruleCondition EOF ; public final void entryRuleCondition() throws RecognitionException { try { // InternalGames.g:329:1: ( ruleCondition EOF ) // InternalGames.g:330:1: ruleCondition EOF { before(grammarAccess.getConditionRule()); pushFollow(FOLLOW_1); ruleCondition(); state._fsp--; after(grammarAccess.getConditionRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleCondition" // $ANTLR start "ruleCondition" // InternalGames.g:337:1: ruleCondition : ( ( rule__Condition__Group__0 ) ) ; public final void ruleCondition() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:341:2: ( ( ( rule__Condition__Group__0 ) ) ) // InternalGames.g:342:2: ( ( rule__Condition__Group__0 ) ) { // InternalGames.g:342:2: ( ( rule__Condition__Group__0 ) ) // InternalGames.g:343:3: ( rule__Condition__Group__0 ) { before(grammarAccess.getConditionAccess().getGroup()); // InternalGames.g:344:3: ( rule__Condition__Group__0 ) // InternalGames.g:344:4: rule__Condition__Group__0 { pushFollow(FOLLOW_2); rule__Condition__Group__0(); state._fsp--; } after(grammarAccess.getConditionAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleCondition" // $ANTLR start "entryRuleAction" // InternalGames.g:353:1: entryRuleAction : ruleAction EOF ; public final void entryRuleAction() throws RecognitionException { try { // InternalGames.g:354:1: ( ruleAction EOF ) // InternalGames.g:355:1: ruleAction EOF { before(grammarAccess.getActionRule()); pushFollow(FOLLOW_1); ruleAction(); state._fsp--; after(grammarAccess.getActionRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleAction" // $ANTLR start "ruleAction" // InternalGames.g:362:1: ruleAction : ( ( rule__Action__Group__0 ) ) ; public final void ruleAction() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:366:2: ( ( ( rule__Action__Group__0 ) ) ) // InternalGames.g:367:2: ( ( rule__Action__Group__0 ) ) { // InternalGames.g:367:2: ( ( rule__Action__Group__0 ) ) // InternalGames.g:368:3: ( rule__Action__Group__0 ) { before(grammarAccess.getActionAccess().getGroup()); // InternalGames.g:369:3: ( rule__Action__Group__0 ) // InternalGames.g:369:4: rule__Action__Group__0 { pushFollow(FOLLOW_2); rule__Action__Group__0(); state._fsp--; } after(grammarAccess.getActionAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleAction" // $ANTLR start "entryRuleInteraction" // InternalGames.g:378:1: entryRuleInteraction : ruleInteraction EOF ; public final void entryRuleInteraction() throws RecognitionException { try { // InternalGames.g:379:1: ( ruleInteraction EOF ) // InternalGames.g:380:1: ruleInteraction EOF { before(grammarAccess.getInteractionRule()); pushFollow(FOLLOW_1); ruleInteraction(); state._fsp--; after(grammarAccess.getInteractionRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleInteraction" // $ANTLR start "ruleInteraction" // InternalGames.g:387:1: ruleInteraction : ( ( rule__Interaction__Group__0 ) ) ; public final void ruleInteraction() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:391:2: ( ( ( rule__Interaction__Group__0 ) ) ) // InternalGames.g:392:2: ( ( rule__Interaction__Group__0 ) ) { // InternalGames.g:392:2: ( ( rule__Interaction__Group__0 ) ) // InternalGames.g:393:3: ( rule__Interaction__Group__0 ) { before(grammarAccess.getInteractionAccess().getGroup()); // InternalGames.g:394:3: ( rule__Interaction__Group__0 ) // InternalGames.g:394:4: rule__Interaction__Group__0 { pushFollow(FOLLOW_2); rule__Interaction__Group__0(); state._fsp--; } after(grammarAccess.getInteractionAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleInteraction" // $ANTLR start "entryRuleProposition" // InternalGames.g:403:1: entryRuleProposition : ruleProposition EOF ; public final void entryRuleProposition() throws RecognitionException { try { // InternalGames.g:404:1: ( ruleProposition EOF ) // InternalGames.g:405:1: ruleProposition EOF { before(grammarAccess.getPropositionRule()); pushFollow(FOLLOW_1); ruleProposition(); state._fsp--; after(grammarAccess.getPropositionRule()); match(input,EOF,FOLLOW_2); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } // $ANTLR end "entryRuleProposition" // $ANTLR start "ruleProposition" // InternalGames.g:412:1: ruleProposition : ( ( rule__Proposition__Group__0 ) ) ; public final void ruleProposition() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:416:2: ( ( ( rule__Proposition__Group__0 ) ) ) // InternalGames.g:417:2: ( ( rule__Proposition__Group__0 ) ) { // InternalGames.g:417:2: ( ( rule__Proposition__Group__0 ) ) // InternalGames.g:418:3: ( rule__Proposition__Group__0 ) { before(grammarAccess.getPropositionAccess().getGroup()); // InternalGames.g:419:3: ( rule__Proposition__Group__0 ) // InternalGames.g:419:4: rule__Proposition__Group__0 { pushFollow(FOLLOW_2); rule__Proposition__Group__0(); state._fsp--; } after(grammarAccess.getPropositionAccess().getGroup()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleProposition" // $ANTLR start "ruleActions" // InternalGames.g:428:1: ruleActions : ( ( rule__Actions__Alternatives ) ) ; public final void ruleActions() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:432:1: ( ( ( rule__Actions__Alternatives ) ) ) // InternalGames.g:433:2: ( ( rule__Actions__Alternatives ) ) { // InternalGames.g:433:2: ( ( rule__Actions__Alternatives ) ) // InternalGames.g:434:3: ( rule__Actions__Alternatives ) { before(grammarAccess.getActionsAccess().getAlternatives()); // InternalGames.g:435:3: ( rule__Actions__Alternatives ) // InternalGames.g:435:4: rule__Actions__Alternatives { pushFollow(FOLLOW_2); rule__Actions__Alternatives(); state._fsp--; } after(grammarAccess.getActionsAccess().getAlternatives()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleActions" // $ANTLR start "rule__Actions__Alternatives" // InternalGames.g:443:1: rule__Actions__Alternatives : ( ( ( 'TAKE_PATH' ) ) | ( ( 'TAKE_ITEM' ) ) | ( ( 'LEARN_KNOWLEDGE' ) ) | ( ( 'QUIT' ) ) | ( ( 'CONSUME_ITEM' ) ) ); public final void rule__Actions__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:447:1: ( ( ( 'TAKE_PATH' ) ) | ( ( 'TAKE_ITEM' ) ) | ( ( 'LEARN_KNOWLEDGE' ) ) | ( ( 'QUIT' ) ) | ( ( 'CONSUME_ITEM' ) ) ) int alt1=5; switch ( input.LA(1) ) { case 11: { alt1=1; } break; case 12: { alt1=2; } break; case 13: { alt1=3; } break; case 14: { alt1=4; } break; case 15: { alt1=5; } break; default: NoViableAltException nvae = new NoViableAltException("", 1, 0, input); throw nvae; } switch (alt1) { case 1 : // InternalGames.g:448:2: ( ( 'TAKE_PATH' ) ) { // InternalGames.g:448:2: ( ( 'TAKE_PATH' ) ) // InternalGames.g:449:3: ( 'TAKE_PATH' ) { before(grammarAccess.getActionsAccess().getPRENDRE_CHEMINEnumLiteralDeclaration_0()); // InternalGames.g:450:3: ( 'TAKE_PATH' ) // InternalGames.g:450:4: 'TAKE_PATH' { match(input,11,FOLLOW_2); } after(grammarAccess.getActionsAccess().getPRENDRE_CHEMINEnumLiteralDeclaration_0()); } } break; case 2 : // InternalGames.g:454:2: ( ( 'TAKE_ITEM' ) ) { // InternalGames.g:454:2: ( ( 'TAKE_ITEM' ) ) // InternalGames.g:455:3: ( 'TAKE_ITEM' ) { before(grammarAccess.getActionsAccess().getPRENDRE_OBJETEnumLiteralDeclaration_1()); // InternalGames.g:456:3: ( 'TAKE_ITEM' ) // InternalGames.g:456:4: 'TAKE_ITEM' { match(input,12,FOLLOW_2); } after(grammarAccess.getActionsAccess().getPRENDRE_OBJETEnumLiteralDeclaration_1()); } } break; case 3 : // InternalGames.g:460:2: ( ( 'LEARN_KNOWLEDGE' ) ) { // InternalGames.g:460:2: ( ( 'LEARN_KNOWLEDGE' ) ) // InternalGames.g:461:3: ( 'LEARN_KNOWLEDGE' ) { before(grammarAccess.getActionsAccess().getAPPRENDRE_CONNAISSANCEEnumLiteralDeclaration_2()); // InternalGames.g:462:3: ( 'LEARN_KNOWLEDGE' ) // InternalGames.g:462:4: 'LEARN_KNOWLEDGE' { match(input,13,FOLLOW_2); } after(grammarAccess.getActionsAccess().getAPPRENDRE_CONNAISSANCEEnumLiteralDeclaration_2()); } } break; case 4 : // InternalGames.g:466:2: ( ( 'QUIT' ) ) { // InternalGames.g:466:2: ( ( 'QUIT' ) ) // InternalGames.g:467:3: ( 'QUIT' ) { before(grammarAccess.getActionsAccess().getQUITTEREnumLiteralDeclaration_3()); // InternalGames.g:468:3: ( 'QUIT' ) // InternalGames.g:468:4: 'QUIT' { match(input,14,FOLLOW_2); } after(grammarAccess.getActionsAccess().getQUITTEREnumLiteralDeclaration_3()); } } break; case 5 : // InternalGames.g:472:2: ( ( 'CONSUME_ITEM' ) ) { // InternalGames.g:472:2: ( ( 'CONSUME_ITEM' ) ) // InternalGames.g:473:3: ( 'CONSUME_ITEM' ) { before(grammarAccess.getActionsAccess().getCONSOMMER_OBJETEnumLiteralDeclaration_4()); // InternalGames.g:474:3: ( 'CONSUME_ITEM' ) // InternalGames.g:474:4: 'CONSUME_ITEM' { match(input,15,FOLLOW_2); } after(grammarAccess.getActionsAccess().getCONSOMMER_OBJETEnumLiteralDeclaration_4()); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Actions__Alternatives" // $ANTLR start "rule__Game__Group__0" // InternalGames.g:482:1: rule__Game__Group__0 : rule__Game__Group__0__Impl rule__Game__Group__1 ; public final void rule__Game__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:486:1: ( rule__Game__Group__0__Impl rule__Game__Group__1 ) // InternalGames.g:487:2: rule__Game__Group__0__Impl rule__Game__Group__1 { pushFollow(FOLLOW_3); rule__Game__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__0" // $ANTLR start "rule__Game__Group__0__Impl" // InternalGames.g:494:1: rule__Game__Group__0__Impl : ( 'game' ) ; public final void rule__Game__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:498:1: ( ( 'game' ) ) // InternalGames.g:499:1: ( 'game' ) { // InternalGames.g:499:1: ( 'game' ) // InternalGames.g:500:2: 'game' { before(grammarAccess.getGameAccess().getGameKeyword_0()); match(input,16,FOLLOW_2); after(grammarAccess.getGameAccess().getGameKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__0__Impl" // $ANTLR start "rule__Game__Group__1" // InternalGames.g:509:1: rule__Game__Group__1 : rule__Game__Group__1__Impl rule__Game__Group__2 ; public final void rule__Game__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:513:1: ( rule__Game__Group__1__Impl rule__Game__Group__2 ) // InternalGames.g:514:2: rule__Game__Group__1__Impl rule__Game__Group__2 { pushFollow(FOLLOW_4); rule__Game__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__1" // $ANTLR start "rule__Game__Group__1__Impl" // InternalGames.g:521:1: rule__Game__Group__1__Impl : ( ( rule__Game__NameAssignment_1 ) ) ; public final void rule__Game__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:525:1: ( ( ( rule__Game__NameAssignment_1 ) ) ) // InternalGames.g:526:1: ( ( rule__Game__NameAssignment_1 ) ) { // InternalGames.g:526:1: ( ( rule__Game__NameAssignment_1 ) ) // InternalGames.g:527:2: ( rule__Game__NameAssignment_1 ) { before(grammarAccess.getGameAccess().getNameAssignment_1()); // InternalGames.g:528:2: ( rule__Game__NameAssignment_1 ) // InternalGames.g:528:3: rule__Game__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Game__NameAssignment_1(); state._fsp--; } after(grammarAccess.getGameAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__1__Impl" // $ANTLR start "rule__Game__Group__2" // InternalGames.g:536:1: rule__Game__Group__2 : rule__Game__Group__2__Impl rule__Game__Group__3 ; public final void rule__Game__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:540:1: ( rule__Game__Group__2__Impl rule__Game__Group__3 ) // InternalGames.g:541:2: rule__Game__Group__2__Impl rule__Game__Group__3 { pushFollow(FOLLOW_5); rule__Game__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__2" // $ANTLR start "rule__Game__Group__2__Impl" // InternalGames.g:548:1: rule__Game__Group__2__Impl : ( ':' ) ; public final void rule__Game__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:552:1: ( ( ':' ) ) // InternalGames.g:553:1: ( ':' ) { // InternalGames.g:553:1: ( ':' ) // InternalGames.g:554:2: ':' { before(grammarAccess.getGameAccess().getColonKeyword_2()); match(input,17,FOLLOW_2); after(grammarAccess.getGameAccess().getColonKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__2__Impl" // $ANTLR start "rule__Game__Group__3" // InternalGames.g:563:1: rule__Game__Group__3 : rule__Game__Group__3__Impl rule__Game__Group__4 ; public final void rule__Game__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:567:1: ( rule__Game__Group__3__Impl rule__Game__Group__4 ) // InternalGames.g:568:2: rule__Game__Group__3__Impl rule__Game__Group__4 { pushFollow(FOLLOW_6); rule__Game__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__3" // $ANTLR start "rule__Game__Group__3__Impl" // InternalGames.g:575:1: rule__Game__Group__3__Impl : ( ( rule__Game__PlayerAssignment_3 ) ) ; public final void rule__Game__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:579:1: ( ( ( rule__Game__PlayerAssignment_3 ) ) ) // InternalGames.g:580:1: ( ( rule__Game__PlayerAssignment_3 ) ) { // InternalGames.g:580:1: ( ( rule__Game__PlayerAssignment_3 ) ) // InternalGames.g:581:2: ( rule__Game__PlayerAssignment_3 ) { before(grammarAccess.getGameAccess().getPlayerAssignment_3()); // InternalGames.g:582:2: ( rule__Game__PlayerAssignment_3 ) // InternalGames.g:582:3: rule__Game__PlayerAssignment_3 { pushFollow(FOLLOW_2); rule__Game__PlayerAssignment_3(); state._fsp--; } after(grammarAccess.getGameAccess().getPlayerAssignment_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__3__Impl" // $ANTLR start "rule__Game__Group__4" // InternalGames.g:590:1: rule__Game__Group__4 : rule__Game__Group__4__Impl rule__Game__Group__5 ; public final void rule__Game__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:594:1: ( rule__Game__Group__4__Impl rule__Game__Group__5 ) // InternalGames.g:595:2: rule__Game__Group__4__Impl rule__Game__Group__5 { pushFollow(FOLLOW_7); rule__Game__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__4" // $ANTLR start "rule__Game__Group__4__Impl" // InternalGames.g:602:1: rule__Game__Group__4__Impl : ( 'places' ) ; public final void rule__Game__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:606:1: ( ( 'places' ) ) // InternalGames.g:607:1: ( 'places' ) { // InternalGames.g:607:1: ( 'places' ) // InternalGames.g:608:2: 'places' { before(grammarAccess.getGameAccess().getPlacesKeyword_4()); match(input,18,FOLLOW_2); after(grammarAccess.getGameAccess().getPlacesKeyword_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__4__Impl" // $ANTLR start "rule__Game__Group__5" // InternalGames.g:617:1: rule__Game__Group__5 : rule__Game__Group__5__Impl rule__Game__Group__6 ; public final void rule__Game__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:621:1: ( rule__Game__Group__5__Impl rule__Game__Group__6 ) // InternalGames.g:622:2: rule__Game__Group__5__Impl rule__Game__Group__6 { pushFollow(FOLLOW_8); rule__Game__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__5" // $ANTLR start "rule__Game__Group__5__Impl" // InternalGames.g:629:1: rule__Game__Group__5__Impl : ( '[' ) ; public final void rule__Game__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:633:1: ( ( '[' ) ) // InternalGames.g:634:1: ( '[' ) { // InternalGames.g:634:1: ( '[' ) // InternalGames.g:635:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_5()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__5__Impl" // $ANTLR start "rule__Game__Group__6" // InternalGames.g:644:1: rule__Game__Group__6 : rule__Game__Group__6__Impl rule__Game__Group__7 ; public final void rule__Game__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:648:1: ( rule__Game__Group__6__Impl rule__Game__Group__7 ) // InternalGames.g:649:2: rule__Game__Group__6__Impl rule__Game__Group__7 { pushFollow(FOLLOW_9); rule__Game__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__6" // $ANTLR start "rule__Game__Group__6__Impl" // InternalGames.g:656:1: rule__Game__Group__6__Impl : ( ( rule__Game__PlacesAssignment_6 ) ) ; public final void rule__Game__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:660:1: ( ( ( rule__Game__PlacesAssignment_6 ) ) ) // InternalGames.g:661:1: ( ( rule__Game__PlacesAssignment_6 ) ) { // InternalGames.g:661:1: ( ( rule__Game__PlacesAssignment_6 ) ) // InternalGames.g:662:2: ( rule__Game__PlacesAssignment_6 ) { before(grammarAccess.getGameAccess().getPlacesAssignment_6()); // InternalGames.g:663:2: ( rule__Game__PlacesAssignment_6 ) // InternalGames.g:663:3: rule__Game__PlacesAssignment_6 { pushFollow(FOLLOW_2); rule__Game__PlacesAssignment_6(); state._fsp--; } after(grammarAccess.getGameAccess().getPlacesAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__6__Impl" // $ANTLR start "rule__Game__Group__7" // InternalGames.g:671:1: rule__Game__Group__7 : rule__Game__Group__7__Impl rule__Game__Group__8 ; public final void rule__Game__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:675:1: ( rule__Game__Group__7__Impl rule__Game__Group__8 ) // InternalGames.g:676:2: rule__Game__Group__7__Impl rule__Game__Group__8 { pushFollow(FOLLOW_9); rule__Game__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__7" // $ANTLR start "rule__Game__Group__7__Impl" // InternalGames.g:683:1: rule__Game__Group__7__Impl : ( ( rule__Game__Group_7__0 )* ) ; public final void rule__Game__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:687:1: ( ( ( rule__Game__Group_7__0 )* ) ) // InternalGames.g:688:1: ( ( rule__Game__Group_7__0 )* ) { // InternalGames.g:688:1: ( ( rule__Game__Group_7__0 )* ) // InternalGames.g:689:2: ( rule__Game__Group_7__0 )* { before(grammarAccess.getGameAccess().getGroup_7()); // InternalGames.g:690:2: ( rule__Game__Group_7__0 )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); if ( (LA2_0==25) ) { alt2=1; } switch (alt2) { case 1 : // InternalGames.g:690:3: rule__Game__Group_7__0 { pushFollow(FOLLOW_10); rule__Game__Group_7__0(); state._fsp--; } break; default : break loop2; } } while (true); after(grammarAccess.getGameAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__7__Impl" // $ANTLR start "rule__Game__Group__8" // InternalGames.g:698:1: rule__Game__Group__8 : rule__Game__Group__8__Impl rule__Game__Group__9 ; public final void rule__Game__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:702:1: ( rule__Game__Group__8__Impl rule__Game__Group__9 ) // InternalGames.g:703:2: rule__Game__Group__8__Impl rule__Game__Group__9 { pushFollow(FOLLOW_11); rule__Game__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__8" // $ANTLR start "rule__Game__Group__8__Impl" // InternalGames.g:710:1: rule__Game__Group__8__Impl : ( ']' ) ; public final void rule__Game__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:714:1: ( ( ']' ) ) // InternalGames.g:715:1: ( ']' ) { // InternalGames.g:715:1: ( ']' ) // InternalGames.g:716:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_8()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__8__Impl" // $ANTLR start "rule__Game__Group__9" // InternalGames.g:725:1: rule__Game__Group__9 : rule__Game__Group__9__Impl rule__Game__Group__10 ; public final void rule__Game__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:729:1: ( rule__Game__Group__9__Impl rule__Game__Group__10 ) // InternalGames.g:730:2: rule__Game__Group__9__Impl rule__Game__Group__10 { pushFollow(FOLLOW_11); rule__Game__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__9" // $ANTLR start "rule__Game__Group__9__Impl" // InternalGames.g:737:1: rule__Game__Group__9__Impl : ( ( rule__Game__Group_9__0 )? ) ; public final void rule__Game__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:741:1: ( ( ( rule__Game__Group_9__0 )? ) ) // InternalGames.g:742:1: ( ( rule__Game__Group_9__0 )? ) { // InternalGames.g:742:1: ( ( rule__Game__Group_9__0 )? ) // InternalGames.g:743:2: ( rule__Game__Group_9__0 )? { before(grammarAccess.getGameAccess().getGroup_9()); // InternalGames.g:744:2: ( rule__Game__Group_9__0 )? int alt3=2; int LA3_0 = input.LA(1); if ( (LA3_0==26) ) { alt3=1; } switch (alt3) { case 1 : // InternalGames.g:744:3: rule__Game__Group_9__0 { pushFollow(FOLLOW_2); rule__Game__Group_9__0(); state._fsp--; } break; } after(grammarAccess.getGameAccess().getGroup_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__9__Impl" // $ANTLR start "rule__Game__Group__10" // InternalGames.g:752:1: rule__Game__Group__10 : rule__Game__Group__10__Impl rule__Game__Group__11 ; public final void rule__Game__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:756:1: ( rule__Game__Group__10__Impl rule__Game__Group__11 ) // InternalGames.g:757:2: rule__Game__Group__10__Impl rule__Game__Group__11 { pushFollow(FOLLOW_7); rule__Game__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__10" // $ANTLR start "rule__Game__Group__10__Impl" // InternalGames.g:764:1: rule__Game__Group__10__Impl : ( 'people' ) ; public final void rule__Game__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:768:1: ( ( 'people' ) ) // InternalGames.g:769:1: ( 'people' ) { // InternalGames.g:769:1: ( 'people' ) // InternalGames.g:770:2: 'people' { before(grammarAccess.getGameAccess().getPeopleKeyword_10()); match(input,21,FOLLOW_2); after(grammarAccess.getGameAccess().getPeopleKeyword_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__10__Impl" // $ANTLR start "rule__Game__Group__11" // InternalGames.g:779:1: rule__Game__Group__11 : rule__Game__Group__11__Impl rule__Game__Group__12 ; public final void rule__Game__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:783:1: ( rule__Game__Group__11__Impl rule__Game__Group__12 ) // InternalGames.g:784:2: rule__Game__Group__11__Impl rule__Game__Group__12 { pushFollow(FOLLOW_12); rule__Game__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__11" // $ANTLR start "rule__Game__Group__11__Impl" // InternalGames.g:791:1: rule__Game__Group__11__Impl : ( '[' ) ; public final void rule__Game__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:795:1: ( ( '[' ) ) // InternalGames.g:796:1: ( '[' ) { // InternalGames.g:796:1: ( '[' ) // InternalGames.g:797:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_11()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__11__Impl" // $ANTLR start "rule__Game__Group__12" // InternalGames.g:806:1: rule__Game__Group__12 : rule__Game__Group__12__Impl rule__Game__Group__13 ; public final void rule__Game__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:810:1: ( rule__Game__Group__12__Impl rule__Game__Group__13 ) // InternalGames.g:811:2: rule__Game__Group__12__Impl rule__Game__Group__13 { pushFollow(FOLLOW_9); rule__Game__Group__12__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__13(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__12" // $ANTLR start "rule__Game__Group__12__Impl" // InternalGames.g:818:1: rule__Game__Group__12__Impl : ( ( rule__Game__PeopleAssignment_12 ) ) ; public final void rule__Game__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:822:1: ( ( ( rule__Game__PeopleAssignment_12 ) ) ) // InternalGames.g:823:1: ( ( rule__Game__PeopleAssignment_12 ) ) { // InternalGames.g:823:1: ( ( rule__Game__PeopleAssignment_12 ) ) // InternalGames.g:824:2: ( rule__Game__PeopleAssignment_12 ) { before(grammarAccess.getGameAccess().getPeopleAssignment_12()); // InternalGames.g:825:2: ( rule__Game__PeopleAssignment_12 ) // InternalGames.g:825:3: rule__Game__PeopleAssignment_12 { pushFollow(FOLLOW_2); rule__Game__PeopleAssignment_12(); state._fsp--; } after(grammarAccess.getGameAccess().getPeopleAssignment_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__12__Impl" // $ANTLR start "rule__Game__Group__13" // InternalGames.g:833:1: rule__Game__Group__13 : rule__Game__Group__13__Impl rule__Game__Group__14 ; public final void rule__Game__Group__13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:837:1: ( rule__Game__Group__13__Impl rule__Game__Group__14 ) // InternalGames.g:838:2: rule__Game__Group__13__Impl rule__Game__Group__14 { pushFollow(FOLLOW_9); rule__Game__Group__13__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__14(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__13" // $ANTLR start "rule__Game__Group__13__Impl" // InternalGames.g:845:1: rule__Game__Group__13__Impl : ( ( rule__Game__Group_13__0 )* ) ; public final void rule__Game__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:849:1: ( ( ( rule__Game__Group_13__0 )* ) ) // InternalGames.g:850:1: ( ( rule__Game__Group_13__0 )* ) { // InternalGames.g:850:1: ( ( rule__Game__Group_13__0 )* ) // InternalGames.g:851:2: ( rule__Game__Group_13__0 )* { before(grammarAccess.getGameAccess().getGroup_13()); // InternalGames.g:852:2: ( rule__Game__Group_13__0 )* loop4: do { int alt4=2; int LA4_0 = input.LA(1); if ( (LA4_0==25) ) { alt4=1; } switch (alt4) { case 1 : // InternalGames.g:852:3: rule__Game__Group_13__0 { pushFollow(FOLLOW_10); rule__Game__Group_13__0(); state._fsp--; } break; default : break loop4; } } while (true); after(grammarAccess.getGameAccess().getGroup_13()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__13__Impl" // $ANTLR start "rule__Game__Group__14" // InternalGames.g:860:1: rule__Game__Group__14 : rule__Game__Group__14__Impl rule__Game__Group__15 ; public final void rule__Game__Group__14() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:864:1: ( rule__Game__Group__14__Impl rule__Game__Group__15 ) // InternalGames.g:865:2: rule__Game__Group__14__Impl rule__Game__Group__15 { pushFollow(FOLLOW_13); rule__Game__Group__14__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__15(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__14" // $ANTLR start "rule__Game__Group__14__Impl" // InternalGames.g:872:1: rule__Game__Group__14__Impl : ( ']' ) ; public final void rule__Game__Group__14__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:876:1: ( ( ']' ) ) // InternalGames.g:877:1: ( ']' ) { // InternalGames.g:877:1: ( ']' ) // InternalGames.g:878:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_14()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_14()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__14__Impl" // $ANTLR start "rule__Game__Group__15" // InternalGames.g:887:1: rule__Game__Group__15 : rule__Game__Group__15__Impl rule__Game__Group__16 ; public final void rule__Game__Group__15() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:891:1: ( rule__Game__Group__15__Impl rule__Game__Group__16 ) // InternalGames.g:892:2: rule__Game__Group__15__Impl rule__Game__Group__16 { pushFollow(FOLLOW_13); rule__Game__Group__15__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__16(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__15" // $ANTLR start "rule__Game__Group__15__Impl" // InternalGames.g:899:1: rule__Game__Group__15__Impl : ( ( rule__Game__Group_15__0 )? ) ; public final void rule__Game__Group__15__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:903:1: ( ( ( rule__Game__Group_15__0 )? ) ) // InternalGames.g:904:1: ( ( rule__Game__Group_15__0 )? ) { // InternalGames.g:904:1: ( ( rule__Game__Group_15__0 )? ) // InternalGames.g:905:2: ( rule__Game__Group_15__0 )? { before(grammarAccess.getGameAccess().getGroup_15()); // InternalGames.g:906:2: ( rule__Game__Group_15__0 )? int alt5=2; int LA5_0 = input.LA(1); if ( (LA5_0==27) ) { alt5=1; } switch (alt5) { case 1 : // InternalGames.g:906:3: rule__Game__Group_15__0 { pushFollow(FOLLOW_2); rule__Game__Group_15__0(); state._fsp--; } break; } after(grammarAccess.getGameAccess().getGroup_15()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__15__Impl" // $ANTLR start "rule__Game__Group__16" // InternalGames.g:914:1: rule__Game__Group__16 : rule__Game__Group__16__Impl rule__Game__Group__17 ; public final void rule__Game__Group__16() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:918:1: ( rule__Game__Group__16__Impl rule__Game__Group__17 ) // InternalGames.g:919:2: rule__Game__Group__16__Impl rule__Game__Group__17 { pushFollow(FOLLOW_7); rule__Game__Group__16__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__17(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__16" // $ANTLR start "rule__Game__Group__16__Impl" // InternalGames.g:926:1: rule__Game__Group__16__Impl : ( 'path' ) ; public final void rule__Game__Group__16__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:930:1: ( ( 'path' ) ) // InternalGames.g:931:1: ( 'path' ) { // InternalGames.g:931:1: ( 'path' ) // InternalGames.g:932:2: 'path' { before(grammarAccess.getGameAccess().getPathKeyword_16()); match(input,22,FOLLOW_2); after(grammarAccess.getGameAccess().getPathKeyword_16()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__16__Impl" // $ANTLR start "rule__Game__Group__17" // InternalGames.g:941:1: rule__Game__Group__17 : rule__Game__Group__17__Impl rule__Game__Group__18 ; public final void rule__Game__Group__17() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:945:1: ( rule__Game__Group__17__Impl rule__Game__Group__18 ) // InternalGames.g:946:2: rule__Game__Group__17__Impl rule__Game__Group__18 { pushFollow(FOLLOW_14); rule__Game__Group__17__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__18(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__17" // $ANTLR start "rule__Game__Group__17__Impl" // InternalGames.g:953:1: rule__Game__Group__17__Impl : ( '[' ) ; public final void rule__Game__Group__17__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:957:1: ( ( '[' ) ) // InternalGames.g:958:1: ( '[' ) { // InternalGames.g:958:1: ( '[' ) // InternalGames.g:959:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_17()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_17()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__17__Impl" // $ANTLR start "rule__Game__Group__18" // InternalGames.g:968:1: rule__Game__Group__18 : rule__Game__Group__18__Impl rule__Game__Group__19 ; public final void rule__Game__Group__18() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:972:1: ( rule__Game__Group__18__Impl rule__Game__Group__19 ) // InternalGames.g:973:2: rule__Game__Group__18__Impl rule__Game__Group__19 { pushFollow(FOLLOW_9); rule__Game__Group__18__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__19(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__18" // $ANTLR start "rule__Game__Group__18__Impl" // InternalGames.g:980:1: rule__Game__Group__18__Impl : ( ( rule__Game__PathAssignment_18 ) ) ; public final void rule__Game__Group__18__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:984:1: ( ( ( rule__Game__PathAssignment_18 ) ) ) // InternalGames.g:985:1: ( ( rule__Game__PathAssignment_18 ) ) { // InternalGames.g:985:1: ( ( rule__Game__PathAssignment_18 ) ) // InternalGames.g:986:2: ( rule__Game__PathAssignment_18 ) { before(grammarAccess.getGameAccess().getPathAssignment_18()); // InternalGames.g:987:2: ( rule__Game__PathAssignment_18 ) // InternalGames.g:987:3: rule__Game__PathAssignment_18 { pushFollow(FOLLOW_2); rule__Game__PathAssignment_18(); state._fsp--; } after(grammarAccess.getGameAccess().getPathAssignment_18()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__18__Impl" // $ANTLR start "rule__Game__Group__19" // InternalGames.g:995:1: rule__Game__Group__19 : rule__Game__Group__19__Impl rule__Game__Group__20 ; public final void rule__Game__Group__19() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:999:1: ( rule__Game__Group__19__Impl rule__Game__Group__20 ) // InternalGames.g:1000:2: rule__Game__Group__19__Impl rule__Game__Group__20 { pushFollow(FOLLOW_9); rule__Game__Group__19__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__20(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__19" // $ANTLR start "rule__Game__Group__19__Impl" // InternalGames.g:1007:1: rule__Game__Group__19__Impl : ( ( rule__Game__Group_19__0 )* ) ; public final void rule__Game__Group__19__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1011:1: ( ( ( rule__Game__Group_19__0 )* ) ) // InternalGames.g:1012:1: ( ( rule__Game__Group_19__0 )* ) { // InternalGames.g:1012:1: ( ( rule__Game__Group_19__0 )* ) // InternalGames.g:1013:2: ( rule__Game__Group_19__0 )* { before(grammarAccess.getGameAccess().getGroup_19()); // InternalGames.g:1014:2: ( rule__Game__Group_19__0 )* loop6: do { int alt6=2; int LA6_0 = input.LA(1); if ( (LA6_0==25) ) { alt6=1; } switch (alt6) { case 1 : // InternalGames.g:1014:3: rule__Game__Group_19__0 { pushFollow(FOLLOW_10); rule__Game__Group_19__0(); state._fsp--; } break; default : break loop6; } } while (true); after(grammarAccess.getGameAccess().getGroup_19()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__19__Impl" // $ANTLR start "rule__Game__Group__20" // InternalGames.g:1022:1: rule__Game__Group__20 : rule__Game__Group__20__Impl rule__Game__Group__21 ; public final void rule__Game__Group__20() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1026:1: ( rule__Game__Group__20__Impl rule__Game__Group__21 ) // InternalGames.g:1027:2: rule__Game__Group__20__Impl rule__Game__Group__21 { pushFollow(FOLLOW_15); rule__Game__Group__20__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__21(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__20" // $ANTLR start "rule__Game__Group__20__Impl" // InternalGames.g:1034:1: rule__Game__Group__20__Impl : ( ']' ) ; public final void rule__Game__Group__20__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1038:1: ( ( ']' ) ) // InternalGames.g:1039:1: ( ']' ) { // InternalGames.g:1039:1: ( ']' ) // InternalGames.g:1040:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_20()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_20()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__20__Impl" // $ANTLR start "rule__Game__Group__21" // InternalGames.g:1049:1: rule__Game__Group__21 : rule__Game__Group__21__Impl rule__Game__Group__22 ; public final void rule__Game__Group__21() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1053:1: ( rule__Game__Group__21__Impl rule__Game__Group__22 ) // InternalGames.g:1054:2: rule__Game__Group__21__Impl rule__Game__Group__22 { pushFollow(FOLLOW_15); rule__Game__Group__21__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__22(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__21" // $ANTLR start "rule__Game__Group__21__Impl" // InternalGames.g:1061:1: rule__Game__Group__21__Impl : ( ( rule__Game__Group_21__0 )? ) ; public final void rule__Game__Group__21__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1065:1: ( ( ( rule__Game__Group_21__0 )? ) ) // InternalGames.g:1066:1: ( ( rule__Game__Group_21__0 )? ) { // InternalGames.g:1066:1: ( ( rule__Game__Group_21__0 )? ) // InternalGames.g:1067:2: ( rule__Game__Group_21__0 )? { before(grammarAccess.getGameAccess().getGroup_21()); // InternalGames.g:1068:2: ( rule__Game__Group_21__0 )? int alt7=2; int LA7_0 = input.LA(1); if ( (LA7_0==28) ) { alt7=1; } switch (alt7) { case 1 : // InternalGames.g:1068:3: rule__Game__Group_21__0 { pushFollow(FOLLOW_2); rule__Game__Group_21__0(); state._fsp--; } break; } after(grammarAccess.getGameAccess().getGroup_21()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__21__Impl" // $ANTLR start "rule__Game__Group__22" // InternalGames.g:1076:1: rule__Game__Group__22 : rule__Game__Group__22__Impl rule__Game__Group__23 ; public final void rule__Game__Group__22() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1080:1: ( rule__Game__Group__22__Impl rule__Game__Group__23 ) // InternalGames.g:1081:2: rule__Game__Group__22__Impl rule__Game__Group__23 { pushFollow(FOLLOW_3); rule__Game__Group__22__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__23(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__22" // $ANTLR start "rule__Game__Group__22__Impl" // InternalGames.g:1088:1: rule__Game__Group__22__Impl : ( 'startPlace' ) ; public final void rule__Game__Group__22__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1092:1: ( ( 'startPlace' ) ) // InternalGames.g:1093:1: ( 'startPlace' ) { // InternalGames.g:1093:1: ( 'startPlace' ) // InternalGames.g:1094:2: 'startPlace' { before(grammarAccess.getGameAccess().getStartPlaceKeyword_22()); match(input,23,FOLLOW_2); after(grammarAccess.getGameAccess().getStartPlaceKeyword_22()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__22__Impl" // $ANTLR start "rule__Game__Group__23" // InternalGames.g:1103:1: rule__Game__Group__23 : rule__Game__Group__23__Impl rule__Game__Group__24 ; public final void rule__Game__Group__23() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1107:1: ( rule__Game__Group__23__Impl rule__Game__Group__24 ) // InternalGames.g:1108:2: rule__Game__Group__23__Impl rule__Game__Group__24 { pushFollow(FOLLOW_16); rule__Game__Group__23__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__24(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__23" // $ANTLR start "rule__Game__Group__23__Impl" // InternalGames.g:1115:1: rule__Game__Group__23__Impl : ( ( rule__Game__StartPlaceAssignment_23 ) ) ; public final void rule__Game__Group__23__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1119:1: ( ( ( rule__Game__StartPlaceAssignment_23 ) ) ) // InternalGames.g:1120:1: ( ( rule__Game__StartPlaceAssignment_23 ) ) { // InternalGames.g:1120:1: ( ( rule__Game__StartPlaceAssignment_23 ) ) // InternalGames.g:1121:2: ( rule__Game__StartPlaceAssignment_23 ) { before(grammarAccess.getGameAccess().getStartPlaceAssignment_23()); // InternalGames.g:1122:2: ( rule__Game__StartPlaceAssignment_23 ) // InternalGames.g:1122:3: rule__Game__StartPlaceAssignment_23 { pushFollow(FOLLOW_2); rule__Game__StartPlaceAssignment_23(); state._fsp--; } after(grammarAccess.getGameAccess().getStartPlaceAssignment_23()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__23__Impl" // $ANTLR start "rule__Game__Group__24" // InternalGames.g:1130:1: rule__Game__Group__24 : rule__Game__Group__24__Impl rule__Game__Group__25 ; public final void rule__Game__Group__24() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1134:1: ( rule__Game__Group__24__Impl rule__Game__Group__25 ) // InternalGames.g:1135:2: rule__Game__Group__24__Impl rule__Game__Group__25 { pushFollow(FOLLOW_3); rule__Game__Group__24__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__25(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__24" // $ANTLR start "rule__Game__Group__24__Impl" // InternalGames.g:1142:1: rule__Game__Group__24__Impl : ( 'endPlace' ) ; public final void rule__Game__Group__24__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1146:1: ( ( 'endPlace' ) ) // InternalGames.g:1147:1: ( 'endPlace' ) { // InternalGames.g:1147:1: ( 'endPlace' ) // InternalGames.g:1148:2: 'endPlace' { before(grammarAccess.getGameAccess().getEndPlaceKeyword_24()); match(input,24,FOLLOW_2); after(grammarAccess.getGameAccess().getEndPlaceKeyword_24()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__24__Impl" // $ANTLR start "rule__Game__Group__25" // InternalGames.g:1157:1: rule__Game__Group__25 : rule__Game__Group__25__Impl rule__Game__Group__26 ; public final void rule__Game__Group__25() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1161:1: ( rule__Game__Group__25__Impl rule__Game__Group__26 ) // InternalGames.g:1162:2: rule__Game__Group__25__Impl rule__Game__Group__26 { pushFollow(FOLLOW_17); rule__Game__Group__25__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group__26(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__25" // $ANTLR start "rule__Game__Group__25__Impl" // InternalGames.g:1169:1: rule__Game__Group__25__Impl : ( ( ( rule__Game__EndPlaceAssignment_25 ) ) ( ( rule__Game__EndPlaceAssignment_25 )* ) ) ; public final void rule__Game__Group__25__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1173:1: ( ( ( ( rule__Game__EndPlaceAssignment_25 ) ) ( ( rule__Game__EndPlaceAssignment_25 )* ) ) ) // InternalGames.g:1174:1: ( ( ( rule__Game__EndPlaceAssignment_25 ) ) ( ( rule__Game__EndPlaceAssignment_25 )* ) ) { // InternalGames.g:1174:1: ( ( ( rule__Game__EndPlaceAssignment_25 ) ) ( ( rule__Game__EndPlaceAssignment_25 )* ) ) // InternalGames.g:1175:2: ( ( rule__Game__EndPlaceAssignment_25 ) ) ( ( rule__Game__EndPlaceAssignment_25 )* ) { // InternalGames.g:1175:2: ( ( rule__Game__EndPlaceAssignment_25 ) ) // InternalGames.g:1176:3: ( rule__Game__EndPlaceAssignment_25 ) { before(grammarAccess.getGameAccess().getEndPlaceAssignment_25()); // InternalGames.g:1177:3: ( rule__Game__EndPlaceAssignment_25 ) // InternalGames.g:1177:4: rule__Game__EndPlaceAssignment_25 { pushFollow(FOLLOW_18); rule__Game__EndPlaceAssignment_25(); state._fsp--; } after(grammarAccess.getGameAccess().getEndPlaceAssignment_25()); } // InternalGames.g:1180:2: ( ( rule__Game__EndPlaceAssignment_25 )* ) // InternalGames.g:1181:3: ( rule__Game__EndPlaceAssignment_25 )* { before(grammarAccess.getGameAccess().getEndPlaceAssignment_25()); // InternalGames.g:1182:3: ( rule__Game__EndPlaceAssignment_25 )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); if ( (LA8_0==RULE_ID) ) { alt8=1; } switch (alt8) { case 1 : // InternalGames.g:1182:4: rule__Game__EndPlaceAssignment_25 { pushFollow(FOLLOW_18); rule__Game__EndPlaceAssignment_25(); state._fsp--; } break; default : break loop8; } } while (true); after(grammarAccess.getGameAccess().getEndPlaceAssignment_25()); } } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__25__Impl" // $ANTLR start "rule__Game__Group__26" // InternalGames.g:1191:1: rule__Game__Group__26 : rule__Game__Group__26__Impl ; public final void rule__Game__Group__26() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1195:1: ( rule__Game__Group__26__Impl ) // InternalGames.g:1196:2: rule__Game__Group__26__Impl { pushFollow(FOLLOW_2); rule__Game__Group__26__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__26" // $ANTLR start "rule__Game__Group__26__Impl" // InternalGames.g:1202:1: rule__Game__Group__26__Impl : ( ( rule__Game__DifficultyAssignment_26 ) ) ; public final void rule__Game__Group__26__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1206:1: ( ( ( rule__Game__DifficultyAssignment_26 ) ) ) // InternalGames.g:1207:1: ( ( rule__Game__DifficultyAssignment_26 ) ) { // InternalGames.g:1207:1: ( ( rule__Game__DifficultyAssignment_26 ) ) // InternalGames.g:1208:2: ( rule__Game__DifficultyAssignment_26 ) { before(grammarAccess.getGameAccess().getDifficultyAssignment_26()); // InternalGames.g:1209:2: ( rule__Game__DifficultyAssignment_26 ) // InternalGames.g:1209:3: rule__Game__DifficultyAssignment_26 { pushFollow(FOLLOW_2); rule__Game__DifficultyAssignment_26(); state._fsp--; } after(grammarAccess.getGameAccess().getDifficultyAssignment_26()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group__26__Impl" // $ANTLR start "rule__Game__Group_7__0" // InternalGames.g:1218:1: rule__Game__Group_7__0 : rule__Game__Group_7__0__Impl rule__Game__Group_7__1 ; public final void rule__Game__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1222:1: ( rule__Game__Group_7__0__Impl rule__Game__Group_7__1 ) // InternalGames.g:1223:2: rule__Game__Group_7__0__Impl rule__Game__Group_7__1 { pushFollow(FOLLOW_8); rule__Game__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_7__0" // $ANTLR start "rule__Game__Group_7__0__Impl" // InternalGames.g:1230:1: rule__Game__Group_7__0__Impl : ( ',' ) ; public final void rule__Game__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1234:1: ( ( ',' ) ) // InternalGames.g:1235:1: ( ',' ) { // InternalGames.g:1235:1: ( ',' ) // InternalGames.g:1236:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_7_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_7__0__Impl" // $ANTLR start "rule__Game__Group_7__1" // InternalGames.g:1245:1: rule__Game__Group_7__1 : rule__Game__Group_7__1__Impl ; public final void rule__Game__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1249:1: ( rule__Game__Group_7__1__Impl ) // InternalGames.g:1250:2: rule__Game__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_7__1" // $ANTLR start "rule__Game__Group_7__1__Impl" // InternalGames.g:1256:1: rule__Game__Group_7__1__Impl : ( ( rule__Game__PlacesAssignment_7_1 ) ) ; public final void rule__Game__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1260:1: ( ( ( rule__Game__PlacesAssignment_7_1 ) ) ) // InternalGames.g:1261:1: ( ( rule__Game__PlacesAssignment_7_1 ) ) { // InternalGames.g:1261:1: ( ( rule__Game__PlacesAssignment_7_1 ) ) // InternalGames.g:1262:2: ( rule__Game__PlacesAssignment_7_1 ) { before(grammarAccess.getGameAccess().getPlacesAssignment_7_1()); // InternalGames.g:1263:2: ( rule__Game__PlacesAssignment_7_1 ) // InternalGames.g:1263:3: rule__Game__PlacesAssignment_7_1 { pushFollow(FOLLOW_2); rule__Game__PlacesAssignment_7_1(); state._fsp--; } after(grammarAccess.getGameAccess().getPlacesAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_7__1__Impl" // $ANTLR start "rule__Game__Group_9__0" // InternalGames.g:1272:1: rule__Game__Group_9__0 : rule__Game__Group_9__0__Impl rule__Game__Group_9__1 ; public final void rule__Game__Group_9__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1276:1: ( rule__Game__Group_9__0__Impl rule__Game__Group_9__1 ) // InternalGames.g:1277:2: rule__Game__Group_9__0__Impl rule__Game__Group_9__1 { pushFollow(FOLLOW_7); rule__Game__Group_9__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_9__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__0" // $ANTLR start "rule__Game__Group_9__0__Impl" // InternalGames.g:1284:1: rule__Game__Group_9__0__Impl : ( 'knowledge' ) ; public final void rule__Game__Group_9__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1288:1: ( ( 'knowledge' ) ) // InternalGames.g:1289:1: ( 'knowledge' ) { // InternalGames.g:1289:1: ( 'knowledge' ) // InternalGames.g:1290:2: 'knowledge' { before(grammarAccess.getGameAccess().getKnowledgeKeyword_9_0()); match(input,26,FOLLOW_2); after(grammarAccess.getGameAccess().getKnowledgeKeyword_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__0__Impl" // $ANTLR start "rule__Game__Group_9__1" // InternalGames.g:1299:1: rule__Game__Group_9__1 : rule__Game__Group_9__1__Impl rule__Game__Group_9__2 ; public final void rule__Game__Group_9__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1303:1: ( rule__Game__Group_9__1__Impl rule__Game__Group_9__2 ) // InternalGames.g:1304:2: rule__Game__Group_9__1__Impl rule__Game__Group_9__2 { pushFollow(FOLLOW_19); rule__Game__Group_9__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_9__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__1" // $ANTLR start "rule__Game__Group_9__1__Impl" // InternalGames.g:1311:1: rule__Game__Group_9__1__Impl : ( '[' ) ; public final void rule__Game__Group_9__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1315:1: ( ( '[' ) ) // InternalGames.g:1316:1: ( '[' ) { // InternalGames.g:1316:1: ( '[' ) // InternalGames.g:1317:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_9_1()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_9_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__1__Impl" // $ANTLR start "rule__Game__Group_9__2" // InternalGames.g:1326:1: rule__Game__Group_9__2 : rule__Game__Group_9__2__Impl rule__Game__Group_9__3 ; public final void rule__Game__Group_9__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1330:1: ( rule__Game__Group_9__2__Impl rule__Game__Group_9__3 ) // InternalGames.g:1331:2: rule__Game__Group_9__2__Impl rule__Game__Group_9__3 { pushFollow(FOLLOW_9); rule__Game__Group_9__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_9__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__2" // $ANTLR start "rule__Game__Group_9__2__Impl" // InternalGames.g:1338:1: rule__Game__Group_9__2__Impl : ( ( rule__Game__KnowledgeAssignment_9_2 ) ) ; public final void rule__Game__Group_9__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1342:1: ( ( ( rule__Game__KnowledgeAssignment_9_2 ) ) ) // InternalGames.g:1343:1: ( ( rule__Game__KnowledgeAssignment_9_2 ) ) { // InternalGames.g:1343:1: ( ( rule__Game__KnowledgeAssignment_9_2 ) ) // InternalGames.g:1344:2: ( rule__Game__KnowledgeAssignment_9_2 ) { before(grammarAccess.getGameAccess().getKnowledgeAssignment_9_2()); // InternalGames.g:1345:2: ( rule__Game__KnowledgeAssignment_9_2 ) // InternalGames.g:1345:3: rule__Game__KnowledgeAssignment_9_2 { pushFollow(FOLLOW_2); rule__Game__KnowledgeAssignment_9_2(); state._fsp--; } after(grammarAccess.getGameAccess().getKnowledgeAssignment_9_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__2__Impl" // $ANTLR start "rule__Game__Group_9__3" // InternalGames.g:1353:1: rule__Game__Group_9__3 : rule__Game__Group_9__3__Impl rule__Game__Group_9__4 ; public final void rule__Game__Group_9__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1357:1: ( rule__Game__Group_9__3__Impl rule__Game__Group_9__4 ) // InternalGames.g:1358:2: rule__Game__Group_9__3__Impl rule__Game__Group_9__4 { pushFollow(FOLLOW_9); rule__Game__Group_9__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_9__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__3" // $ANTLR start "rule__Game__Group_9__3__Impl" // InternalGames.g:1365:1: rule__Game__Group_9__3__Impl : ( ( rule__Game__Group_9_3__0 )* ) ; public final void rule__Game__Group_9__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1369:1: ( ( ( rule__Game__Group_9_3__0 )* ) ) // InternalGames.g:1370:1: ( ( rule__Game__Group_9_3__0 )* ) { // InternalGames.g:1370:1: ( ( rule__Game__Group_9_3__0 )* ) // InternalGames.g:1371:2: ( rule__Game__Group_9_3__0 )* { before(grammarAccess.getGameAccess().getGroup_9_3()); // InternalGames.g:1372:2: ( rule__Game__Group_9_3__0 )* loop9: do { int alt9=2; int LA9_0 = input.LA(1); if ( (LA9_0==25) ) { alt9=1; } switch (alt9) { case 1 : // InternalGames.g:1372:3: rule__Game__Group_9_3__0 { pushFollow(FOLLOW_10); rule__Game__Group_9_3__0(); state._fsp--; } break; default : break loop9; } } while (true); after(grammarAccess.getGameAccess().getGroup_9_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__3__Impl" // $ANTLR start "rule__Game__Group_9__4" // InternalGames.g:1380:1: rule__Game__Group_9__4 : rule__Game__Group_9__4__Impl ; public final void rule__Game__Group_9__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1384:1: ( rule__Game__Group_9__4__Impl ) // InternalGames.g:1385:2: rule__Game__Group_9__4__Impl { pushFollow(FOLLOW_2); rule__Game__Group_9__4__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__4" // $ANTLR start "rule__Game__Group_9__4__Impl" // InternalGames.g:1391:1: rule__Game__Group_9__4__Impl : ( ']' ) ; public final void rule__Game__Group_9__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1395:1: ( ( ']' ) ) // InternalGames.g:1396:1: ( ']' ) { // InternalGames.g:1396:1: ( ']' ) // InternalGames.g:1397:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_9_4()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_9_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9__4__Impl" // $ANTLR start "rule__Game__Group_9_3__0" // InternalGames.g:1407:1: rule__Game__Group_9_3__0 : rule__Game__Group_9_3__0__Impl rule__Game__Group_9_3__1 ; public final void rule__Game__Group_9_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1411:1: ( rule__Game__Group_9_3__0__Impl rule__Game__Group_9_3__1 ) // InternalGames.g:1412:2: rule__Game__Group_9_3__0__Impl rule__Game__Group_9_3__1 { pushFollow(FOLLOW_19); rule__Game__Group_9_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_9_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9_3__0" // $ANTLR start "rule__Game__Group_9_3__0__Impl" // InternalGames.g:1419:1: rule__Game__Group_9_3__0__Impl : ( ',' ) ; public final void rule__Game__Group_9_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1423:1: ( ( ',' ) ) // InternalGames.g:1424:1: ( ',' ) { // InternalGames.g:1424:1: ( ',' ) // InternalGames.g:1425:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_9_3_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_9_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9_3__0__Impl" // $ANTLR start "rule__Game__Group_9_3__1" // InternalGames.g:1434:1: rule__Game__Group_9_3__1 : rule__Game__Group_9_3__1__Impl ; public final void rule__Game__Group_9_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1438:1: ( rule__Game__Group_9_3__1__Impl ) // InternalGames.g:1439:2: rule__Game__Group_9_3__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_9_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9_3__1" // $ANTLR start "rule__Game__Group_9_3__1__Impl" // InternalGames.g:1445:1: rule__Game__Group_9_3__1__Impl : ( ( rule__Game__KnowledgeAssignment_9_3_1 ) ) ; public final void rule__Game__Group_9_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1449:1: ( ( ( rule__Game__KnowledgeAssignment_9_3_1 ) ) ) // InternalGames.g:1450:1: ( ( rule__Game__KnowledgeAssignment_9_3_1 ) ) { // InternalGames.g:1450:1: ( ( rule__Game__KnowledgeAssignment_9_3_1 ) ) // InternalGames.g:1451:2: ( rule__Game__KnowledgeAssignment_9_3_1 ) { before(grammarAccess.getGameAccess().getKnowledgeAssignment_9_3_1()); // InternalGames.g:1452:2: ( rule__Game__KnowledgeAssignment_9_3_1 ) // InternalGames.g:1452:3: rule__Game__KnowledgeAssignment_9_3_1 { pushFollow(FOLLOW_2); rule__Game__KnowledgeAssignment_9_3_1(); state._fsp--; } after(grammarAccess.getGameAccess().getKnowledgeAssignment_9_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_9_3__1__Impl" // $ANTLR start "rule__Game__Group_13__0" // InternalGames.g:1461:1: rule__Game__Group_13__0 : rule__Game__Group_13__0__Impl rule__Game__Group_13__1 ; public final void rule__Game__Group_13__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1465:1: ( rule__Game__Group_13__0__Impl rule__Game__Group_13__1 ) // InternalGames.g:1466:2: rule__Game__Group_13__0__Impl rule__Game__Group_13__1 { pushFollow(FOLLOW_12); rule__Game__Group_13__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_13__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_13__0" // $ANTLR start "rule__Game__Group_13__0__Impl" // InternalGames.g:1473:1: rule__Game__Group_13__0__Impl : ( ',' ) ; public final void rule__Game__Group_13__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1477:1: ( ( ',' ) ) // InternalGames.g:1478:1: ( ',' ) { // InternalGames.g:1478:1: ( ',' ) // InternalGames.g:1479:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_13_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_13_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_13__0__Impl" // $ANTLR start "rule__Game__Group_13__1" // InternalGames.g:1488:1: rule__Game__Group_13__1 : rule__Game__Group_13__1__Impl ; public final void rule__Game__Group_13__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1492:1: ( rule__Game__Group_13__1__Impl ) // InternalGames.g:1493:2: rule__Game__Group_13__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_13__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_13__1" // $ANTLR start "rule__Game__Group_13__1__Impl" // InternalGames.g:1499:1: rule__Game__Group_13__1__Impl : ( ( rule__Game__PeopleAssignment_13_1 ) ) ; public final void rule__Game__Group_13__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1503:1: ( ( ( rule__Game__PeopleAssignment_13_1 ) ) ) // InternalGames.g:1504:1: ( ( rule__Game__PeopleAssignment_13_1 ) ) { // InternalGames.g:1504:1: ( ( rule__Game__PeopleAssignment_13_1 ) ) // InternalGames.g:1505:2: ( rule__Game__PeopleAssignment_13_1 ) { before(grammarAccess.getGameAccess().getPeopleAssignment_13_1()); // InternalGames.g:1506:2: ( rule__Game__PeopleAssignment_13_1 ) // InternalGames.g:1506:3: rule__Game__PeopleAssignment_13_1 { pushFollow(FOLLOW_2); rule__Game__PeopleAssignment_13_1(); state._fsp--; } after(grammarAccess.getGameAccess().getPeopleAssignment_13_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_13__1__Impl" // $ANTLR start "rule__Game__Group_15__0" // InternalGames.g:1515:1: rule__Game__Group_15__0 : rule__Game__Group_15__0__Impl rule__Game__Group_15__1 ; public final void rule__Game__Group_15__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1519:1: ( rule__Game__Group_15__0__Impl rule__Game__Group_15__1 ) // InternalGames.g:1520:2: rule__Game__Group_15__0__Impl rule__Game__Group_15__1 { pushFollow(FOLLOW_7); rule__Game__Group_15__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_15__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__0" // $ANTLR start "rule__Game__Group_15__0__Impl" // InternalGames.g:1527:1: rule__Game__Group_15__0__Impl : ( 'items' ) ; public final void rule__Game__Group_15__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1531:1: ( ( 'items' ) ) // InternalGames.g:1532:1: ( 'items' ) { // InternalGames.g:1532:1: ( 'items' ) // InternalGames.g:1533:2: 'items' { before(grammarAccess.getGameAccess().getItemsKeyword_15_0()); match(input,27,FOLLOW_2); after(grammarAccess.getGameAccess().getItemsKeyword_15_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__0__Impl" // $ANTLR start "rule__Game__Group_15__1" // InternalGames.g:1542:1: rule__Game__Group_15__1 : rule__Game__Group_15__1__Impl rule__Game__Group_15__2 ; public final void rule__Game__Group_15__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1546:1: ( rule__Game__Group_15__1__Impl rule__Game__Group_15__2 ) // InternalGames.g:1547:2: rule__Game__Group_15__1__Impl rule__Game__Group_15__2 { pushFollow(FOLLOW_20); rule__Game__Group_15__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_15__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__1" // $ANTLR start "rule__Game__Group_15__1__Impl" // InternalGames.g:1554:1: rule__Game__Group_15__1__Impl : ( '[' ) ; public final void rule__Game__Group_15__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1558:1: ( ( '[' ) ) // InternalGames.g:1559:1: ( '[' ) { // InternalGames.g:1559:1: ( '[' ) // InternalGames.g:1560:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_15_1()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_15_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__1__Impl" // $ANTLR start "rule__Game__Group_15__2" // InternalGames.g:1569:1: rule__Game__Group_15__2 : rule__Game__Group_15__2__Impl rule__Game__Group_15__3 ; public final void rule__Game__Group_15__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1573:1: ( rule__Game__Group_15__2__Impl rule__Game__Group_15__3 ) // InternalGames.g:1574:2: rule__Game__Group_15__2__Impl rule__Game__Group_15__3 { pushFollow(FOLLOW_9); rule__Game__Group_15__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_15__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__2" // $ANTLR start "rule__Game__Group_15__2__Impl" // InternalGames.g:1581:1: rule__Game__Group_15__2__Impl : ( ( rule__Game__ItemsAssignment_15_2 ) ) ; public final void rule__Game__Group_15__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1585:1: ( ( ( rule__Game__ItemsAssignment_15_2 ) ) ) // InternalGames.g:1586:1: ( ( rule__Game__ItemsAssignment_15_2 ) ) { // InternalGames.g:1586:1: ( ( rule__Game__ItemsAssignment_15_2 ) ) // InternalGames.g:1587:2: ( rule__Game__ItemsAssignment_15_2 ) { before(grammarAccess.getGameAccess().getItemsAssignment_15_2()); // InternalGames.g:1588:2: ( rule__Game__ItemsAssignment_15_2 ) // InternalGames.g:1588:3: rule__Game__ItemsAssignment_15_2 { pushFollow(FOLLOW_2); rule__Game__ItemsAssignment_15_2(); state._fsp--; } after(grammarAccess.getGameAccess().getItemsAssignment_15_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__2__Impl" // $ANTLR start "rule__Game__Group_15__3" // InternalGames.g:1596:1: rule__Game__Group_15__3 : rule__Game__Group_15__3__Impl rule__Game__Group_15__4 ; public final void rule__Game__Group_15__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1600:1: ( rule__Game__Group_15__3__Impl rule__Game__Group_15__4 ) // InternalGames.g:1601:2: rule__Game__Group_15__3__Impl rule__Game__Group_15__4 { pushFollow(FOLLOW_9); rule__Game__Group_15__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_15__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__3" // $ANTLR start "rule__Game__Group_15__3__Impl" // InternalGames.g:1608:1: rule__Game__Group_15__3__Impl : ( ( rule__Game__Group_15_3__0 )* ) ; public final void rule__Game__Group_15__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1612:1: ( ( ( rule__Game__Group_15_3__0 )* ) ) // InternalGames.g:1613:1: ( ( rule__Game__Group_15_3__0 )* ) { // InternalGames.g:1613:1: ( ( rule__Game__Group_15_3__0 )* ) // InternalGames.g:1614:2: ( rule__Game__Group_15_3__0 )* { before(grammarAccess.getGameAccess().getGroup_15_3()); // InternalGames.g:1615:2: ( rule__Game__Group_15_3__0 )* loop10: do { int alt10=2; int LA10_0 = input.LA(1); if ( (LA10_0==25) ) { alt10=1; } switch (alt10) { case 1 : // InternalGames.g:1615:3: rule__Game__Group_15_3__0 { pushFollow(FOLLOW_10); rule__Game__Group_15_3__0(); state._fsp--; } break; default : break loop10; } } while (true); after(grammarAccess.getGameAccess().getGroup_15_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__3__Impl" // $ANTLR start "rule__Game__Group_15__4" // InternalGames.g:1623:1: rule__Game__Group_15__4 : rule__Game__Group_15__4__Impl ; public final void rule__Game__Group_15__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1627:1: ( rule__Game__Group_15__4__Impl ) // InternalGames.g:1628:2: rule__Game__Group_15__4__Impl { pushFollow(FOLLOW_2); rule__Game__Group_15__4__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__4" // $ANTLR start "rule__Game__Group_15__4__Impl" // InternalGames.g:1634:1: rule__Game__Group_15__4__Impl : ( ']' ) ; public final void rule__Game__Group_15__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1638:1: ( ( ']' ) ) // InternalGames.g:1639:1: ( ']' ) { // InternalGames.g:1639:1: ( ']' ) // InternalGames.g:1640:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_15_4()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_15_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15__4__Impl" // $ANTLR start "rule__Game__Group_15_3__0" // InternalGames.g:1650:1: rule__Game__Group_15_3__0 : rule__Game__Group_15_3__0__Impl rule__Game__Group_15_3__1 ; public final void rule__Game__Group_15_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1654:1: ( rule__Game__Group_15_3__0__Impl rule__Game__Group_15_3__1 ) // InternalGames.g:1655:2: rule__Game__Group_15_3__0__Impl rule__Game__Group_15_3__1 { pushFollow(FOLLOW_20); rule__Game__Group_15_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_15_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15_3__0" // $ANTLR start "rule__Game__Group_15_3__0__Impl" // InternalGames.g:1662:1: rule__Game__Group_15_3__0__Impl : ( ',' ) ; public final void rule__Game__Group_15_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1666:1: ( ( ',' ) ) // InternalGames.g:1667:1: ( ',' ) { // InternalGames.g:1667:1: ( ',' ) // InternalGames.g:1668:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_15_3_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_15_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15_3__0__Impl" // $ANTLR start "rule__Game__Group_15_3__1" // InternalGames.g:1677:1: rule__Game__Group_15_3__1 : rule__Game__Group_15_3__1__Impl ; public final void rule__Game__Group_15_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1681:1: ( rule__Game__Group_15_3__1__Impl ) // InternalGames.g:1682:2: rule__Game__Group_15_3__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_15_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15_3__1" // $ANTLR start "rule__Game__Group_15_3__1__Impl" // InternalGames.g:1688:1: rule__Game__Group_15_3__1__Impl : ( ( rule__Game__ItemsAssignment_15_3_1 ) ) ; public final void rule__Game__Group_15_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1692:1: ( ( ( rule__Game__ItemsAssignment_15_3_1 ) ) ) // InternalGames.g:1693:1: ( ( rule__Game__ItemsAssignment_15_3_1 ) ) { // InternalGames.g:1693:1: ( ( rule__Game__ItemsAssignment_15_3_1 ) ) // InternalGames.g:1694:2: ( rule__Game__ItemsAssignment_15_3_1 ) { before(grammarAccess.getGameAccess().getItemsAssignment_15_3_1()); // InternalGames.g:1695:2: ( rule__Game__ItemsAssignment_15_3_1 ) // InternalGames.g:1695:3: rule__Game__ItemsAssignment_15_3_1 { pushFollow(FOLLOW_2); rule__Game__ItemsAssignment_15_3_1(); state._fsp--; } after(grammarAccess.getGameAccess().getItemsAssignment_15_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_15_3__1__Impl" // $ANTLR start "rule__Game__Group_19__0" // InternalGames.g:1704:1: rule__Game__Group_19__0 : rule__Game__Group_19__0__Impl rule__Game__Group_19__1 ; public final void rule__Game__Group_19__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1708:1: ( rule__Game__Group_19__0__Impl rule__Game__Group_19__1 ) // InternalGames.g:1709:2: rule__Game__Group_19__0__Impl rule__Game__Group_19__1 { pushFollow(FOLLOW_14); rule__Game__Group_19__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_19__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_19__0" // $ANTLR start "rule__Game__Group_19__0__Impl" // InternalGames.g:1716:1: rule__Game__Group_19__0__Impl : ( ',' ) ; public final void rule__Game__Group_19__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1720:1: ( ( ',' ) ) // InternalGames.g:1721:1: ( ',' ) { // InternalGames.g:1721:1: ( ',' ) // InternalGames.g:1722:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_19_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_19_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_19__0__Impl" // $ANTLR start "rule__Game__Group_19__1" // InternalGames.g:1731:1: rule__Game__Group_19__1 : rule__Game__Group_19__1__Impl ; public final void rule__Game__Group_19__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1735:1: ( rule__Game__Group_19__1__Impl ) // InternalGames.g:1736:2: rule__Game__Group_19__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_19__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_19__1" // $ANTLR start "rule__Game__Group_19__1__Impl" // InternalGames.g:1742:1: rule__Game__Group_19__1__Impl : ( ( rule__Game__PathAssignment_19_1 ) ) ; public final void rule__Game__Group_19__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1746:1: ( ( ( rule__Game__PathAssignment_19_1 ) ) ) // InternalGames.g:1747:1: ( ( rule__Game__PathAssignment_19_1 ) ) { // InternalGames.g:1747:1: ( ( rule__Game__PathAssignment_19_1 ) ) // InternalGames.g:1748:2: ( rule__Game__PathAssignment_19_1 ) { before(grammarAccess.getGameAccess().getPathAssignment_19_1()); // InternalGames.g:1749:2: ( rule__Game__PathAssignment_19_1 ) // InternalGames.g:1749:3: rule__Game__PathAssignment_19_1 { pushFollow(FOLLOW_2); rule__Game__PathAssignment_19_1(); state._fsp--; } after(grammarAccess.getGameAccess().getPathAssignment_19_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_19__1__Impl" // $ANTLR start "rule__Game__Group_21__0" // InternalGames.g:1758:1: rule__Game__Group_21__0 : rule__Game__Group_21__0__Impl rule__Game__Group_21__1 ; public final void rule__Game__Group_21__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1762:1: ( rule__Game__Group_21__0__Impl rule__Game__Group_21__1 ) // InternalGames.g:1763:2: rule__Game__Group_21__0__Impl rule__Game__Group_21__1 { pushFollow(FOLLOW_7); rule__Game__Group_21__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_21__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__0" // $ANTLR start "rule__Game__Group_21__0__Impl" // InternalGames.g:1770:1: rule__Game__Group_21__0__Impl : ( 'recipes' ) ; public final void rule__Game__Group_21__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1774:1: ( ( 'recipes' ) ) // InternalGames.g:1775:1: ( 'recipes' ) { // InternalGames.g:1775:1: ( 'recipes' ) // InternalGames.g:1776:2: 'recipes' { before(grammarAccess.getGameAccess().getRecipesKeyword_21_0()); match(input,28,FOLLOW_2); after(grammarAccess.getGameAccess().getRecipesKeyword_21_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__0__Impl" // $ANTLR start "rule__Game__Group_21__1" // InternalGames.g:1785:1: rule__Game__Group_21__1 : rule__Game__Group_21__1__Impl rule__Game__Group_21__2 ; public final void rule__Game__Group_21__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1789:1: ( rule__Game__Group_21__1__Impl rule__Game__Group_21__2 ) // InternalGames.g:1790:2: rule__Game__Group_21__1__Impl rule__Game__Group_21__2 { pushFollow(FOLLOW_21); rule__Game__Group_21__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_21__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__1" // $ANTLR start "rule__Game__Group_21__1__Impl" // InternalGames.g:1797:1: rule__Game__Group_21__1__Impl : ( '[' ) ; public final void rule__Game__Group_21__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1801:1: ( ( '[' ) ) // InternalGames.g:1802:1: ( '[' ) { // InternalGames.g:1802:1: ( '[' ) // InternalGames.g:1803:2: '[' { before(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_21_1()); match(input,19,FOLLOW_2); after(grammarAccess.getGameAccess().getLeftSquareBracketKeyword_21_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__1__Impl" // $ANTLR start "rule__Game__Group_21__2" // InternalGames.g:1812:1: rule__Game__Group_21__2 : rule__Game__Group_21__2__Impl rule__Game__Group_21__3 ; public final void rule__Game__Group_21__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1816:1: ( rule__Game__Group_21__2__Impl rule__Game__Group_21__3 ) // InternalGames.g:1817:2: rule__Game__Group_21__2__Impl rule__Game__Group_21__3 { pushFollow(FOLLOW_9); rule__Game__Group_21__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_21__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__2" // $ANTLR start "rule__Game__Group_21__2__Impl" // InternalGames.g:1824:1: rule__Game__Group_21__2__Impl : ( ( rule__Game__RecipesAssignment_21_2 ) ) ; public final void rule__Game__Group_21__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1828:1: ( ( ( rule__Game__RecipesAssignment_21_2 ) ) ) // InternalGames.g:1829:1: ( ( rule__Game__RecipesAssignment_21_2 ) ) { // InternalGames.g:1829:1: ( ( rule__Game__RecipesAssignment_21_2 ) ) // InternalGames.g:1830:2: ( rule__Game__RecipesAssignment_21_2 ) { before(grammarAccess.getGameAccess().getRecipesAssignment_21_2()); // InternalGames.g:1831:2: ( rule__Game__RecipesAssignment_21_2 ) // InternalGames.g:1831:3: rule__Game__RecipesAssignment_21_2 { pushFollow(FOLLOW_2); rule__Game__RecipesAssignment_21_2(); state._fsp--; } after(grammarAccess.getGameAccess().getRecipesAssignment_21_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__2__Impl" // $ANTLR start "rule__Game__Group_21__3" // InternalGames.g:1839:1: rule__Game__Group_21__3 : rule__Game__Group_21__3__Impl rule__Game__Group_21__4 ; public final void rule__Game__Group_21__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1843:1: ( rule__Game__Group_21__3__Impl rule__Game__Group_21__4 ) // InternalGames.g:1844:2: rule__Game__Group_21__3__Impl rule__Game__Group_21__4 { pushFollow(FOLLOW_9); rule__Game__Group_21__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_21__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__3" // $ANTLR start "rule__Game__Group_21__3__Impl" // InternalGames.g:1851:1: rule__Game__Group_21__3__Impl : ( ( rule__Game__Group_21_3__0 )* ) ; public final void rule__Game__Group_21__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1855:1: ( ( ( rule__Game__Group_21_3__0 )* ) ) // InternalGames.g:1856:1: ( ( rule__Game__Group_21_3__0 )* ) { // InternalGames.g:1856:1: ( ( rule__Game__Group_21_3__0 )* ) // InternalGames.g:1857:2: ( rule__Game__Group_21_3__0 )* { before(grammarAccess.getGameAccess().getGroup_21_3()); // InternalGames.g:1858:2: ( rule__Game__Group_21_3__0 )* loop11: do { int alt11=2; int LA11_0 = input.LA(1); if ( (LA11_0==25) ) { alt11=1; } switch (alt11) { case 1 : // InternalGames.g:1858:3: rule__Game__Group_21_3__0 { pushFollow(FOLLOW_10); rule__Game__Group_21_3__0(); state._fsp--; } break; default : break loop11; } } while (true); after(grammarAccess.getGameAccess().getGroup_21_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__3__Impl" // $ANTLR start "rule__Game__Group_21__4" // InternalGames.g:1866:1: rule__Game__Group_21__4 : rule__Game__Group_21__4__Impl ; public final void rule__Game__Group_21__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1870:1: ( rule__Game__Group_21__4__Impl ) // InternalGames.g:1871:2: rule__Game__Group_21__4__Impl { pushFollow(FOLLOW_2); rule__Game__Group_21__4__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__4" // $ANTLR start "rule__Game__Group_21__4__Impl" // InternalGames.g:1877:1: rule__Game__Group_21__4__Impl : ( ']' ) ; public final void rule__Game__Group_21__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1881:1: ( ( ']' ) ) // InternalGames.g:1882:1: ( ']' ) { // InternalGames.g:1882:1: ( ']' ) // InternalGames.g:1883:2: ']' { before(grammarAccess.getGameAccess().getRightSquareBracketKeyword_21_4()); match(input,20,FOLLOW_2); after(grammarAccess.getGameAccess().getRightSquareBracketKeyword_21_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21__4__Impl" // $ANTLR start "rule__Game__Group_21_3__0" // InternalGames.g:1893:1: rule__Game__Group_21_3__0 : rule__Game__Group_21_3__0__Impl rule__Game__Group_21_3__1 ; public final void rule__Game__Group_21_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1897:1: ( rule__Game__Group_21_3__0__Impl rule__Game__Group_21_3__1 ) // InternalGames.g:1898:2: rule__Game__Group_21_3__0__Impl rule__Game__Group_21_3__1 { pushFollow(FOLLOW_21); rule__Game__Group_21_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Game__Group_21_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21_3__0" // $ANTLR start "rule__Game__Group_21_3__0__Impl" // InternalGames.g:1905:1: rule__Game__Group_21_3__0__Impl : ( ',' ) ; public final void rule__Game__Group_21_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1909:1: ( ( ',' ) ) // InternalGames.g:1910:1: ( ',' ) { // InternalGames.g:1910:1: ( ',' ) // InternalGames.g:1911:2: ',' { before(grammarAccess.getGameAccess().getCommaKeyword_21_3_0()); match(input,25,FOLLOW_2); after(grammarAccess.getGameAccess().getCommaKeyword_21_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21_3__0__Impl" // $ANTLR start "rule__Game__Group_21_3__1" // InternalGames.g:1920:1: rule__Game__Group_21_3__1 : rule__Game__Group_21_3__1__Impl ; public final void rule__Game__Group_21_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1924:1: ( rule__Game__Group_21_3__1__Impl ) // InternalGames.g:1925:2: rule__Game__Group_21_3__1__Impl { pushFollow(FOLLOW_2); rule__Game__Group_21_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21_3__1" // $ANTLR start "rule__Game__Group_21_3__1__Impl" // InternalGames.g:1931:1: rule__Game__Group_21_3__1__Impl : ( ( rule__Game__RecipesAssignment_21_3_1 ) ) ; public final void rule__Game__Group_21_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1935:1: ( ( ( rule__Game__RecipesAssignment_21_3_1 ) ) ) // InternalGames.g:1936:1: ( ( rule__Game__RecipesAssignment_21_3_1 ) ) { // InternalGames.g:1936:1: ( ( rule__Game__RecipesAssignment_21_3_1 ) ) // InternalGames.g:1937:2: ( rule__Game__RecipesAssignment_21_3_1 ) { before(grammarAccess.getGameAccess().getRecipesAssignment_21_3_1()); // InternalGames.g:1938:2: ( rule__Game__RecipesAssignment_21_3_1 ) // InternalGames.g:1938:3: rule__Game__RecipesAssignment_21_3_1 { pushFollow(FOLLOW_2); rule__Game__RecipesAssignment_21_3_1(); state._fsp--; } after(grammarAccess.getGameAccess().getRecipesAssignment_21_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__Group_21_3__1__Impl" // $ANTLR start "rule__Difficulty__Group__0" // InternalGames.g:1947:1: rule__Difficulty__Group__0 : rule__Difficulty__Group__0__Impl rule__Difficulty__Group__1 ; public final void rule__Difficulty__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1951:1: ( rule__Difficulty__Group__0__Impl rule__Difficulty__Group__1 ) // InternalGames.g:1952:2: rule__Difficulty__Group__0__Impl rule__Difficulty__Group__1 { pushFollow(FOLLOW_22); rule__Difficulty__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__0" // $ANTLR start "rule__Difficulty__Group__0__Impl" // InternalGames.g:1959:1: rule__Difficulty__Group__0__Impl : ( 'difficulty' ) ; public final void rule__Difficulty__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1963:1: ( ( 'difficulty' ) ) // InternalGames.g:1964:1: ( 'difficulty' ) { // InternalGames.g:1964:1: ( 'difficulty' ) // InternalGames.g:1965:2: 'difficulty' { before(grammarAccess.getDifficultyAccess().getDifficultyKeyword_0()); match(input,29,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getDifficultyKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__0__Impl" // $ANTLR start "rule__Difficulty__Group__1" // InternalGames.g:1974:1: rule__Difficulty__Group__1 : rule__Difficulty__Group__1__Impl rule__Difficulty__Group__2 ; public final void rule__Difficulty__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1978:1: ( rule__Difficulty__Group__1__Impl rule__Difficulty__Group__2 ) // InternalGames.g:1979:2: rule__Difficulty__Group__1__Impl rule__Difficulty__Group__2 { pushFollow(FOLLOW_23); rule__Difficulty__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__1" // $ANTLR start "rule__Difficulty__Group__1__Impl" // InternalGames.g:1986:1: rule__Difficulty__Group__1__Impl : ( ( rule__Difficulty__LvlAssignment_1 ) ) ; public final void rule__Difficulty__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:1990:1: ( ( ( rule__Difficulty__LvlAssignment_1 ) ) ) // InternalGames.g:1991:1: ( ( rule__Difficulty__LvlAssignment_1 ) ) { // InternalGames.g:1991:1: ( ( rule__Difficulty__LvlAssignment_1 ) ) // InternalGames.g:1992:2: ( rule__Difficulty__LvlAssignment_1 ) { before(grammarAccess.getDifficultyAccess().getLvlAssignment_1()); // InternalGames.g:1993:2: ( rule__Difficulty__LvlAssignment_1 ) // InternalGames.g:1993:3: rule__Difficulty__LvlAssignment_1 { pushFollow(FOLLOW_2); rule__Difficulty__LvlAssignment_1(); state._fsp--; } after(grammarAccess.getDifficultyAccess().getLvlAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__1__Impl" // $ANTLR start "rule__Difficulty__Group__2" // InternalGames.g:2001:1: rule__Difficulty__Group__2 : rule__Difficulty__Group__2__Impl rule__Difficulty__Group__3 ; public final void rule__Difficulty__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2005:1: ( rule__Difficulty__Group__2__Impl rule__Difficulty__Group__3 ) // InternalGames.g:2006:2: rule__Difficulty__Group__2__Impl rule__Difficulty__Group__3 { pushFollow(FOLLOW_24); rule__Difficulty__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__2" // $ANTLR start "rule__Difficulty__Group__2__Impl" // InternalGames.g:2013:1: rule__Difficulty__Group__2__Impl : ( '{' ) ; public final void rule__Difficulty__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2017:1: ( ( '{' ) ) // InternalGames.g:2018:1: ( '{' ) { // InternalGames.g:2018:1: ( '{' ) // InternalGames.g:2019:2: '{' { before(grammarAccess.getDifficultyAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__2__Impl" // $ANTLR start "rule__Difficulty__Group__3" // InternalGames.g:2028:1: rule__Difficulty__Group__3 : rule__Difficulty__Group__3__Impl rule__Difficulty__Group__4 ; public final void rule__Difficulty__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2032:1: ( rule__Difficulty__Group__3__Impl rule__Difficulty__Group__4 ) // InternalGames.g:2033:2: rule__Difficulty__Group__3__Impl rule__Difficulty__Group__4 { pushFollow(FOLLOW_22); rule__Difficulty__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__3" // $ANTLR start "rule__Difficulty__Group__3__Impl" // InternalGames.g:2040:1: rule__Difficulty__Group__3__Impl : ( 'sizeMax' ) ; public final void rule__Difficulty__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2044:1: ( ( 'sizeMax' ) ) // InternalGames.g:2045:1: ( 'sizeMax' ) { // InternalGames.g:2045:1: ( 'sizeMax' ) // InternalGames.g:2046:2: 'sizeMax' { before(grammarAccess.getDifficultyAccess().getSizeMaxKeyword_3()); match(input,31,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getSizeMaxKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__3__Impl" // $ANTLR start "rule__Difficulty__Group__4" // InternalGames.g:2055:1: rule__Difficulty__Group__4 : rule__Difficulty__Group__4__Impl rule__Difficulty__Group__5 ; public final void rule__Difficulty__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2059:1: ( rule__Difficulty__Group__4__Impl rule__Difficulty__Group__5 ) // InternalGames.g:2060:2: rule__Difficulty__Group__4__Impl rule__Difficulty__Group__5 { pushFollow(FOLLOW_25); rule__Difficulty__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__4" // $ANTLR start "rule__Difficulty__Group__4__Impl" // InternalGames.g:2067:1: rule__Difficulty__Group__4__Impl : ( ( rule__Difficulty__SizeMaxAssignment_4 ) ) ; public final void rule__Difficulty__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2071:1: ( ( ( rule__Difficulty__SizeMaxAssignment_4 ) ) ) // InternalGames.g:2072:1: ( ( rule__Difficulty__SizeMaxAssignment_4 ) ) { // InternalGames.g:2072:1: ( ( rule__Difficulty__SizeMaxAssignment_4 ) ) // InternalGames.g:2073:2: ( rule__Difficulty__SizeMaxAssignment_4 ) { before(grammarAccess.getDifficultyAccess().getSizeMaxAssignment_4()); // InternalGames.g:2074:2: ( rule__Difficulty__SizeMaxAssignment_4 ) // InternalGames.g:2074:3: rule__Difficulty__SizeMaxAssignment_4 { pushFollow(FOLLOW_2); rule__Difficulty__SizeMaxAssignment_4(); state._fsp--; } after(grammarAccess.getDifficultyAccess().getSizeMaxAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__4__Impl" // $ANTLR start "rule__Difficulty__Group__5" // InternalGames.g:2082:1: rule__Difficulty__Group__5 : rule__Difficulty__Group__5__Impl rule__Difficulty__Group__6 ; public final void rule__Difficulty__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2086:1: ( rule__Difficulty__Group__5__Impl rule__Difficulty__Group__6 ) // InternalGames.g:2087:2: rule__Difficulty__Group__5__Impl rule__Difficulty__Group__6 { pushFollow(FOLLOW_25); rule__Difficulty__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__5" // $ANTLR start "rule__Difficulty__Group__5__Impl" // InternalGames.g:2094:1: rule__Difficulty__Group__5__Impl : ( ( rule__Difficulty__Group_5__0 )? ) ; public final void rule__Difficulty__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2098:1: ( ( ( rule__Difficulty__Group_5__0 )? ) ) // InternalGames.g:2099:1: ( ( rule__Difficulty__Group_5__0 )? ) { // InternalGames.g:2099:1: ( ( rule__Difficulty__Group_5__0 )? ) // InternalGames.g:2100:2: ( rule__Difficulty__Group_5__0 )? { before(grammarAccess.getDifficultyAccess().getGroup_5()); // InternalGames.g:2101:2: ( rule__Difficulty__Group_5__0 )? int alt12=2; int LA12_0 = input.LA(1); if ( (LA12_0==27) ) { alt12=1; } switch (alt12) { case 1 : // InternalGames.g:2101:3: rule__Difficulty__Group_5__0 { pushFollow(FOLLOW_2); rule__Difficulty__Group_5__0(); state._fsp--; } break; } after(grammarAccess.getDifficultyAccess().getGroup_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__5__Impl" // $ANTLR start "rule__Difficulty__Group__6" // InternalGames.g:2109:1: rule__Difficulty__Group__6 : rule__Difficulty__Group__6__Impl rule__Difficulty__Group__7 ; public final void rule__Difficulty__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2113:1: ( rule__Difficulty__Group__6__Impl rule__Difficulty__Group__7 ) // InternalGames.g:2114:2: rule__Difficulty__Group__6__Impl rule__Difficulty__Group__7 { pushFollow(FOLLOW_25); rule__Difficulty__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__6" // $ANTLR start "rule__Difficulty__Group__6__Impl" // InternalGames.g:2121:1: rule__Difficulty__Group__6__Impl : ( ( rule__Difficulty__Group_6__0 )? ) ; public final void rule__Difficulty__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2125:1: ( ( ( rule__Difficulty__Group_6__0 )? ) ) // InternalGames.g:2126:1: ( ( rule__Difficulty__Group_6__0 )? ) { // InternalGames.g:2126:1: ( ( rule__Difficulty__Group_6__0 )? ) // InternalGames.g:2127:2: ( rule__Difficulty__Group_6__0 )? { before(grammarAccess.getDifficultyAccess().getGroup_6()); // InternalGames.g:2128:2: ( rule__Difficulty__Group_6__0 )? int alt13=2; int LA13_0 = input.LA(1); if ( (LA13_0==26) ) { alt13=1; } switch (alt13) { case 1 : // InternalGames.g:2128:3: rule__Difficulty__Group_6__0 { pushFollow(FOLLOW_2); rule__Difficulty__Group_6__0(); state._fsp--; } break; } after(grammarAccess.getDifficultyAccess().getGroup_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__6__Impl" // $ANTLR start "rule__Difficulty__Group__7" // InternalGames.g:2136:1: rule__Difficulty__Group__7 : rule__Difficulty__Group__7__Impl ; public final void rule__Difficulty__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2140:1: ( rule__Difficulty__Group__7__Impl ) // InternalGames.g:2141:2: rule__Difficulty__Group__7__Impl { pushFollow(FOLLOW_2); rule__Difficulty__Group__7__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__7" // $ANTLR start "rule__Difficulty__Group__7__Impl" // InternalGames.g:2147:1: rule__Difficulty__Group__7__Impl : ( '}' ) ; public final void rule__Difficulty__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2151:1: ( ( '}' ) ) // InternalGames.g:2152:1: ( '}' ) { // InternalGames.g:2152:1: ( '}' ) // InternalGames.g:2153:2: '}' { before(grammarAccess.getDifficultyAccess().getRightCurlyBracketKeyword_7()); match(input,32,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getRightCurlyBracketKeyword_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group__7__Impl" // $ANTLR start "rule__Difficulty__Group_5__0" // InternalGames.g:2163:1: rule__Difficulty__Group_5__0 : rule__Difficulty__Group_5__0__Impl rule__Difficulty__Group_5__1 ; public final void rule__Difficulty__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2167:1: ( rule__Difficulty__Group_5__0__Impl rule__Difficulty__Group_5__1 ) // InternalGames.g:2168:2: rule__Difficulty__Group_5__0__Impl rule__Difficulty__Group_5__1 { pushFollow(FOLLOW_7); rule__Difficulty__Group_5__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_5__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__0" // $ANTLR start "rule__Difficulty__Group_5__0__Impl" // InternalGames.g:2175:1: rule__Difficulty__Group_5__0__Impl : ( 'items' ) ; public final void rule__Difficulty__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2179:1: ( ( 'items' ) ) // InternalGames.g:2180:1: ( 'items' ) { // InternalGames.g:2180:1: ( 'items' ) // InternalGames.g:2181:2: 'items' { before(grammarAccess.getDifficultyAccess().getItemsKeyword_5_0()); match(input,27,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getItemsKeyword_5_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__0__Impl" // $ANTLR start "rule__Difficulty__Group_5__1" // InternalGames.g:2190:1: rule__Difficulty__Group_5__1 : rule__Difficulty__Group_5__1__Impl rule__Difficulty__Group_5__2 ; public final void rule__Difficulty__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2194:1: ( rule__Difficulty__Group_5__1__Impl rule__Difficulty__Group_5__2 ) // InternalGames.g:2195:2: rule__Difficulty__Group_5__1__Impl rule__Difficulty__Group_5__2 { pushFollow(FOLLOW_3); rule__Difficulty__Group_5__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_5__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__1" // $ANTLR start "rule__Difficulty__Group_5__1__Impl" // InternalGames.g:2202:1: rule__Difficulty__Group_5__1__Impl : ( '[' ) ; public final void rule__Difficulty__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2206:1: ( ( '[' ) ) // InternalGames.g:2207:1: ( '[' ) { // InternalGames.g:2207:1: ( '[' ) // InternalGames.g:2208:2: '[' { before(grammarAccess.getDifficultyAccess().getLeftSquareBracketKeyword_5_1()); match(input,19,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getLeftSquareBracketKeyword_5_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__1__Impl" // $ANTLR start "rule__Difficulty__Group_5__2" // InternalGames.g:2217:1: rule__Difficulty__Group_5__2 : rule__Difficulty__Group_5__2__Impl rule__Difficulty__Group_5__3 ; public final void rule__Difficulty__Group_5__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2221:1: ( rule__Difficulty__Group_5__2__Impl rule__Difficulty__Group_5__3 ) // InternalGames.g:2222:2: rule__Difficulty__Group_5__2__Impl rule__Difficulty__Group_5__3 { pushFollow(FOLLOW_9); rule__Difficulty__Group_5__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_5__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__2" // $ANTLR start "rule__Difficulty__Group_5__2__Impl" // InternalGames.g:2229:1: rule__Difficulty__Group_5__2__Impl : ( ( rule__Difficulty__ItemsAssignment_5_2 ) ) ; public final void rule__Difficulty__Group_5__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2233:1: ( ( ( rule__Difficulty__ItemsAssignment_5_2 ) ) ) // InternalGames.g:2234:1: ( ( rule__Difficulty__ItemsAssignment_5_2 ) ) { // InternalGames.g:2234:1: ( ( rule__Difficulty__ItemsAssignment_5_2 ) ) // InternalGames.g:2235:2: ( rule__Difficulty__ItemsAssignment_5_2 ) { before(grammarAccess.getDifficultyAccess().getItemsAssignment_5_2()); // InternalGames.g:2236:2: ( rule__Difficulty__ItemsAssignment_5_2 ) // InternalGames.g:2236:3: rule__Difficulty__ItemsAssignment_5_2 { pushFollow(FOLLOW_2); rule__Difficulty__ItemsAssignment_5_2(); state._fsp--; } after(grammarAccess.getDifficultyAccess().getItemsAssignment_5_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__2__Impl" // $ANTLR start "rule__Difficulty__Group_5__3" // InternalGames.g:2244:1: rule__Difficulty__Group_5__3 : rule__Difficulty__Group_5__3__Impl rule__Difficulty__Group_5__4 ; public final void rule__Difficulty__Group_5__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2248:1: ( rule__Difficulty__Group_5__3__Impl rule__Difficulty__Group_5__4 ) // InternalGames.g:2249:2: rule__Difficulty__Group_5__3__Impl rule__Difficulty__Group_5__4 { pushFollow(FOLLOW_9); rule__Difficulty__Group_5__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_5__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__3" // $ANTLR start "rule__Difficulty__Group_5__3__Impl" // InternalGames.g:2256:1: rule__Difficulty__Group_5__3__Impl : ( ( rule__Difficulty__Group_5_3__0 )* ) ; public final void rule__Difficulty__Group_5__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2260:1: ( ( ( rule__Difficulty__Group_5_3__0 )* ) ) // InternalGames.g:2261:1: ( ( rule__Difficulty__Group_5_3__0 )* ) { // InternalGames.g:2261:1: ( ( rule__Difficulty__Group_5_3__0 )* ) // InternalGames.g:2262:2: ( rule__Difficulty__Group_5_3__0 )* { before(grammarAccess.getDifficultyAccess().getGroup_5_3()); // InternalGames.g:2263:2: ( rule__Difficulty__Group_5_3__0 )* loop14: do { int alt14=2; int LA14_0 = input.LA(1); if ( (LA14_0==25) ) { alt14=1; } switch (alt14) { case 1 : // InternalGames.g:2263:3: rule__Difficulty__Group_5_3__0 { pushFollow(FOLLOW_10); rule__Difficulty__Group_5_3__0(); state._fsp--; } break; default : break loop14; } } while (true); after(grammarAccess.getDifficultyAccess().getGroup_5_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__3__Impl" // $ANTLR start "rule__Difficulty__Group_5__4" // InternalGames.g:2271:1: rule__Difficulty__Group_5__4 : rule__Difficulty__Group_5__4__Impl ; public final void rule__Difficulty__Group_5__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2275:1: ( rule__Difficulty__Group_5__4__Impl ) // InternalGames.g:2276:2: rule__Difficulty__Group_5__4__Impl { pushFollow(FOLLOW_2); rule__Difficulty__Group_5__4__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__4" // $ANTLR start "rule__Difficulty__Group_5__4__Impl" // InternalGames.g:2282:1: rule__Difficulty__Group_5__4__Impl : ( ']' ) ; public final void rule__Difficulty__Group_5__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2286:1: ( ( ']' ) ) // InternalGames.g:2287:1: ( ']' ) { // InternalGames.g:2287:1: ( ']' ) // InternalGames.g:2288:2: ']' { before(grammarAccess.getDifficultyAccess().getRightSquareBracketKeyword_5_4()); match(input,20,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getRightSquareBracketKeyword_5_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5__4__Impl" // $ANTLR start "rule__Difficulty__Group_5_3__0" // InternalGames.g:2298:1: rule__Difficulty__Group_5_3__0 : rule__Difficulty__Group_5_3__0__Impl rule__Difficulty__Group_5_3__1 ; public final void rule__Difficulty__Group_5_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2302:1: ( rule__Difficulty__Group_5_3__0__Impl rule__Difficulty__Group_5_3__1 ) // InternalGames.g:2303:2: rule__Difficulty__Group_5_3__0__Impl rule__Difficulty__Group_5_3__1 { pushFollow(FOLLOW_3); rule__Difficulty__Group_5_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_5_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5_3__0" // $ANTLR start "rule__Difficulty__Group_5_3__0__Impl" // InternalGames.g:2310:1: rule__Difficulty__Group_5_3__0__Impl : ( ',' ) ; public final void rule__Difficulty__Group_5_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2314:1: ( ( ',' ) ) // InternalGames.g:2315:1: ( ',' ) { // InternalGames.g:2315:1: ( ',' ) // InternalGames.g:2316:2: ',' { before(grammarAccess.getDifficultyAccess().getCommaKeyword_5_3_0()); match(input,25,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getCommaKeyword_5_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5_3__0__Impl" // $ANTLR start "rule__Difficulty__Group_5_3__1" // InternalGames.g:2325:1: rule__Difficulty__Group_5_3__1 : rule__Difficulty__Group_5_3__1__Impl ; public final void rule__Difficulty__Group_5_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2329:1: ( rule__Difficulty__Group_5_3__1__Impl ) // InternalGames.g:2330:2: rule__Difficulty__Group_5_3__1__Impl { pushFollow(FOLLOW_2); rule__Difficulty__Group_5_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5_3__1" // $ANTLR start "rule__Difficulty__Group_5_3__1__Impl" // InternalGames.g:2336:1: rule__Difficulty__Group_5_3__1__Impl : ( ( rule__Difficulty__ItemsAssignment_5_3_1 ) ) ; public final void rule__Difficulty__Group_5_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2340:1: ( ( ( rule__Difficulty__ItemsAssignment_5_3_1 ) ) ) // InternalGames.g:2341:1: ( ( rule__Difficulty__ItemsAssignment_5_3_1 ) ) { // InternalGames.g:2341:1: ( ( rule__Difficulty__ItemsAssignment_5_3_1 ) ) // InternalGames.g:2342:2: ( rule__Difficulty__ItemsAssignment_5_3_1 ) { before(grammarAccess.getDifficultyAccess().getItemsAssignment_5_3_1()); // InternalGames.g:2343:2: ( rule__Difficulty__ItemsAssignment_5_3_1 ) // InternalGames.g:2343:3: rule__Difficulty__ItemsAssignment_5_3_1 { pushFollow(FOLLOW_2); rule__Difficulty__ItemsAssignment_5_3_1(); state._fsp--; } after(grammarAccess.getDifficultyAccess().getItemsAssignment_5_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_5_3__1__Impl" // $ANTLR start "rule__Difficulty__Group_6__0" // InternalGames.g:2352:1: rule__Difficulty__Group_6__0 : rule__Difficulty__Group_6__0__Impl rule__Difficulty__Group_6__1 ; public final void rule__Difficulty__Group_6__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2356:1: ( rule__Difficulty__Group_6__0__Impl rule__Difficulty__Group_6__1 ) // InternalGames.g:2357:2: rule__Difficulty__Group_6__0__Impl rule__Difficulty__Group_6__1 { pushFollow(FOLLOW_3); rule__Difficulty__Group_6__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Difficulty__Group_6__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_6__0" // $ANTLR start "rule__Difficulty__Group_6__0__Impl" // InternalGames.g:2364:1: rule__Difficulty__Group_6__0__Impl : ( 'knowledge' ) ; public final void rule__Difficulty__Group_6__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2368:1: ( ( 'knowledge' ) ) // InternalGames.g:2369:1: ( 'knowledge' ) { // InternalGames.g:2369:1: ( 'knowledge' ) // InternalGames.g:2370:2: 'knowledge' { before(grammarAccess.getDifficultyAccess().getKnowledgeKeyword_6_0()); match(input,26,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getKnowledgeKeyword_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_6__0__Impl" // $ANTLR start "rule__Difficulty__Group_6__1" // InternalGames.g:2379:1: rule__Difficulty__Group_6__1 : rule__Difficulty__Group_6__1__Impl ; public final void rule__Difficulty__Group_6__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2383:1: ( rule__Difficulty__Group_6__1__Impl ) // InternalGames.g:2384:2: rule__Difficulty__Group_6__1__Impl { pushFollow(FOLLOW_2); rule__Difficulty__Group_6__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_6__1" // $ANTLR start "rule__Difficulty__Group_6__1__Impl" // InternalGames.g:2390:1: rule__Difficulty__Group_6__1__Impl : ( ( rule__Difficulty__KnowledgesAssignment_6_1 )* ) ; public final void rule__Difficulty__Group_6__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2394:1: ( ( ( rule__Difficulty__KnowledgesAssignment_6_1 )* ) ) // InternalGames.g:2395:1: ( ( rule__Difficulty__KnowledgesAssignment_6_1 )* ) { // InternalGames.g:2395:1: ( ( rule__Difficulty__KnowledgesAssignment_6_1 )* ) // InternalGames.g:2396:2: ( rule__Difficulty__KnowledgesAssignment_6_1 )* { before(grammarAccess.getDifficultyAccess().getKnowledgesAssignment_6_1()); // InternalGames.g:2397:2: ( rule__Difficulty__KnowledgesAssignment_6_1 )* loop15: do { int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0==RULE_ID) ) { alt15=1; } switch (alt15) { case 1 : // InternalGames.g:2397:3: rule__Difficulty__KnowledgesAssignment_6_1 { pushFollow(FOLLOW_18); rule__Difficulty__KnowledgesAssignment_6_1(); state._fsp--; } break; default : break loop15; } } while (true); after(grammarAccess.getDifficultyAccess().getKnowledgesAssignment_6_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__Group_6__1__Impl" // $ANTLR start "rule__Player__Group__0" // InternalGames.g:2406:1: rule__Player__Group__0 : rule__Player__Group__0__Impl rule__Player__Group__1 ; public final void rule__Player__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2410:1: ( rule__Player__Group__0__Impl rule__Player__Group__1 ) // InternalGames.g:2411:2: rule__Player__Group__0__Impl rule__Player__Group__1 { pushFollow(FOLLOW_26); rule__Player__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__0" // $ANTLR start "rule__Player__Group__0__Impl" // InternalGames.g:2418:1: rule__Player__Group__0__Impl : ( 'player' ) ; public final void rule__Player__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2422:1: ( ( 'player' ) ) // InternalGames.g:2423:1: ( 'player' ) { // InternalGames.g:2423:1: ( 'player' ) // InternalGames.g:2424:2: 'player' { before(grammarAccess.getPlayerAccess().getPlayerKeyword_0()); match(input,33,FOLLOW_2); after(grammarAccess.getPlayerAccess().getPlayerKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__0__Impl" // $ANTLR start "rule__Player__Group__1" // InternalGames.g:2433:1: rule__Player__Group__1 : rule__Player__Group__1__Impl rule__Player__Group__2 ; public final void rule__Player__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2437:1: ( rule__Player__Group__1__Impl rule__Player__Group__2 ) // InternalGames.g:2438:2: rule__Player__Group__1__Impl rule__Player__Group__2 { pushFollow(FOLLOW_23); rule__Player__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__1" // $ANTLR start "rule__Player__Group__1__Impl" // InternalGames.g:2445:1: rule__Player__Group__1__Impl : ( ( rule__Player__NameAssignment_1 ) ) ; public final void rule__Player__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2449:1: ( ( ( rule__Player__NameAssignment_1 ) ) ) // InternalGames.g:2450:1: ( ( rule__Player__NameAssignment_1 ) ) { // InternalGames.g:2450:1: ( ( rule__Player__NameAssignment_1 ) ) // InternalGames.g:2451:2: ( rule__Player__NameAssignment_1 ) { before(grammarAccess.getPlayerAccess().getNameAssignment_1()); // InternalGames.g:2452:2: ( rule__Player__NameAssignment_1 ) // InternalGames.g:2452:3: rule__Player__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Player__NameAssignment_1(); state._fsp--; } after(grammarAccess.getPlayerAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__1__Impl" // $ANTLR start "rule__Player__Group__2" // InternalGames.g:2460:1: rule__Player__Group__2 : rule__Player__Group__2__Impl rule__Player__Group__3 ; public final void rule__Player__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2464:1: ( rule__Player__Group__2__Impl rule__Player__Group__3 ) // InternalGames.g:2465:2: rule__Player__Group__2__Impl rule__Player__Group__3 { pushFollow(FOLLOW_25); rule__Player__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__2" // $ANTLR start "rule__Player__Group__2__Impl" // InternalGames.g:2472:1: rule__Player__Group__2__Impl : ( '{' ) ; public final void rule__Player__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2476:1: ( ( '{' ) ) // InternalGames.g:2477:1: ( '{' ) { // InternalGames.g:2477:1: ( '{' ) // InternalGames.g:2478:2: '{' { before(grammarAccess.getPlayerAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getPlayerAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__2__Impl" // $ANTLR start "rule__Player__Group__3" // InternalGames.g:2487:1: rule__Player__Group__3 : rule__Player__Group__3__Impl rule__Player__Group__4 ; public final void rule__Player__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2491:1: ( rule__Player__Group__3__Impl rule__Player__Group__4 ) // InternalGames.g:2492:2: rule__Player__Group__3__Impl rule__Player__Group__4 { pushFollow(FOLLOW_25); rule__Player__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__3" // $ANTLR start "rule__Player__Group__3__Impl" // InternalGames.g:2499:1: rule__Player__Group__3__Impl : ( ( rule__Player__Group_3__0 )? ) ; public final void rule__Player__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2503:1: ( ( ( rule__Player__Group_3__0 )? ) ) // InternalGames.g:2504:1: ( ( rule__Player__Group_3__0 )? ) { // InternalGames.g:2504:1: ( ( rule__Player__Group_3__0 )? ) // InternalGames.g:2505:2: ( rule__Player__Group_3__0 )? { before(grammarAccess.getPlayerAccess().getGroup_3()); // InternalGames.g:2506:2: ( rule__Player__Group_3__0 )? int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==27) ) { alt16=1; } switch (alt16) { case 1 : // InternalGames.g:2506:3: rule__Player__Group_3__0 { pushFollow(FOLLOW_2); rule__Player__Group_3__0(); state._fsp--; } break; } after(grammarAccess.getPlayerAccess().getGroup_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__3__Impl" // $ANTLR start "rule__Player__Group__4" // InternalGames.g:2514:1: rule__Player__Group__4 : rule__Player__Group__4__Impl rule__Player__Group__5 ; public final void rule__Player__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2518:1: ( rule__Player__Group__4__Impl rule__Player__Group__5 ) // InternalGames.g:2519:2: rule__Player__Group__4__Impl rule__Player__Group__5 { pushFollow(FOLLOW_25); rule__Player__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__4" // $ANTLR start "rule__Player__Group__4__Impl" // InternalGames.g:2526:1: rule__Player__Group__4__Impl : ( ( rule__Player__Group_4__0 )? ) ; public final void rule__Player__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2530:1: ( ( ( rule__Player__Group_4__0 )? ) ) // InternalGames.g:2531:1: ( ( rule__Player__Group_4__0 )? ) { // InternalGames.g:2531:1: ( ( rule__Player__Group_4__0 )? ) // InternalGames.g:2532:2: ( rule__Player__Group_4__0 )? { before(grammarAccess.getPlayerAccess().getGroup_4()); // InternalGames.g:2533:2: ( rule__Player__Group_4__0 )? int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0==26) ) { alt17=1; } switch (alt17) { case 1 : // InternalGames.g:2533:3: rule__Player__Group_4__0 { pushFollow(FOLLOW_2); rule__Player__Group_4__0(); state._fsp--; } break; } after(grammarAccess.getPlayerAccess().getGroup_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__4__Impl" // $ANTLR start "rule__Player__Group__5" // InternalGames.g:2541:1: rule__Player__Group__5 : rule__Player__Group__5__Impl ; public final void rule__Player__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2545:1: ( rule__Player__Group__5__Impl ) // InternalGames.g:2546:2: rule__Player__Group__5__Impl { pushFollow(FOLLOW_2); rule__Player__Group__5__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__5" // $ANTLR start "rule__Player__Group__5__Impl" // InternalGames.g:2552:1: rule__Player__Group__5__Impl : ( '}' ) ; public final void rule__Player__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2556:1: ( ( '}' ) ) // InternalGames.g:2557:1: ( '}' ) { // InternalGames.g:2557:1: ( '}' ) // InternalGames.g:2558:2: '}' { before(grammarAccess.getPlayerAccess().getRightCurlyBracketKeyword_5()); match(input,32,FOLLOW_2); after(grammarAccess.getPlayerAccess().getRightCurlyBracketKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group__5__Impl" // $ANTLR start "rule__Player__Group_3__0" // InternalGames.g:2568:1: rule__Player__Group_3__0 : rule__Player__Group_3__0__Impl rule__Player__Group_3__1 ; public final void rule__Player__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2572:1: ( rule__Player__Group_3__0__Impl rule__Player__Group_3__1 ) // InternalGames.g:2573:2: rule__Player__Group_3__0__Impl rule__Player__Group_3__1 { pushFollow(FOLLOW_3); rule__Player__Group_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_3__0" // $ANTLR start "rule__Player__Group_3__0__Impl" // InternalGames.g:2580:1: rule__Player__Group_3__0__Impl : ( 'items' ) ; public final void rule__Player__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2584:1: ( ( 'items' ) ) // InternalGames.g:2585:1: ( 'items' ) { // InternalGames.g:2585:1: ( 'items' ) // InternalGames.g:2586:2: 'items' { before(grammarAccess.getPlayerAccess().getItemsKeyword_3_0()); match(input,27,FOLLOW_2); after(grammarAccess.getPlayerAccess().getItemsKeyword_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_3__0__Impl" // $ANTLR start "rule__Player__Group_3__1" // InternalGames.g:2595:1: rule__Player__Group_3__1 : rule__Player__Group_3__1__Impl ; public final void rule__Player__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2599:1: ( rule__Player__Group_3__1__Impl ) // InternalGames.g:2600:2: rule__Player__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__Player__Group_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_3__1" // $ANTLR start "rule__Player__Group_3__1__Impl" // InternalGames.g:2606:1: rule__Player__Group_3__1__Impl : ( ( rule__Player__ItemsAssignment_3_1 )* ) ; public final void rule__Player__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2610:1: ( ( ( rule__Player__ItemsAssignment_3_1 )* ) ) // InternalGames.g:2611:1: ( ( rule__Player__ItemsAssignment_3_1 )* ) { // InternalGames.g:2611:1: ( ( rule__Player__ItemsAssignment_3_1 )* ) // InternalGames.g:2612:2: ( rule__Player__ItemsAssignment_3_1 )* { before(grammarAccess.getPlayerAccess().getItemsAssignment_3_1()); // InternalGames.g:2613:2: ( rule__Player__ItemsAssignment_3_1 )* loop18: do { int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0==RULE_ID) ) { alt18=1; } switch (alt18) { case 1 : // InternalGames.g:2613:3: rule__Player__ItemsAssignment_3_1 { pushFollow(FOLLOW_18); rule__Player__ItemsAssignment_3_1(); state._fsp--; } break; default : break loop18; } } while (true); after(grammarAccess.getPlayerAccess().getItemsAssignment_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_3__1__Impl" // $ANTLR start "rule__Player__Group_4__0" // InternalGames.g:2622:1: rule__Player__Group_4__0 : rule__Player__Group_4__0__Impl rule__Player__Group_4__1 ; public final void rule__Player__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2626:1: ( rule__Player__Group_4__0__Impl rule__Player__Group_4__1 ) // InternalGames.g:2627:2: rule__Player__Group_4__0__Impl rule__Player__Group_4__1 { pushFollow(FOLLOW_3); rule__Player__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Player__Group_4__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_4__0" // $ANTLR start "rule__Player__Group_4__0__Impl" // InternalGames.g:2634:1: rule__Player__Group_4__0__Impl : ( 'knowledge' ) ; public final void rule__Player__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2638:1: ( ( 'knowledge' ) ) // InternalGames.g:2639:1: ( 'knowledge' ) { // InternalGames.g:2639:1: ( 'knowledge' ) // InternalGames.g:2640:2: 'knowledge' { before(grammarAccess.getPlayerAccess().getKnowledgeKeyword_4_0()); match(input,26,FOLLOW_2); after(grammarAccess.getPlayerAccess().getKnowledgeKeyword_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_4__0__Impl" // $ANTLR start "rule__Player__Group_4__1" // InternalGames.g:2649:1: rule__Player__Group_4__1 : rule__Player__Group_4__1__Impl ; public final void rule__Player__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2653:1: ( rule__Player__Group_4__1__Impl ) // InternalGames.g:2654:2: rule__Player__Group_4__1__Impl { pushFollow(FOLLOW_2); rule__Player__Group_4__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_4__1" // $ANTLR start "rule__Player__Group_4__1__Impl" // InternalGames.g:2660:1: rule__Player__Group_4__1__Impl : ( ( rule__Player__KnowledgeAssignment_4_1 )* ) ; public final void rule__Player__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2664:1: ( ( ( rule__Player__KnowledgeAssignment_4_1 )* ) ) // InternalGames.g:2665:1: ( ( rule__Player__KnowledgeAssignment_4_1 )* ) { // InternalGames.g:2665:1: ( ( rule__Player__KnowledgeAssignment_4_1 )* ) // InternalGames.g:2666:2: ( rule__Player__KnowledgeAssignment_4_1 )* { before(grammarAccess.getPlayerAccess().getKnowledgeAssignment_4_1()); // InternalGames.g:2667:2: ( rule__Player__KnowledgeAssignment_4_1 )* loop19: do { int alt19=2; int LA19_0 = input.LA(1); if ( (LA19_0==RULE_ID) ) { alt19=1; } switch (alt19) { case 1 : // InternalGames.g:2667:3: rule__Player__KnowledgeAssignment_4_1 { pushFollow(FOLLOW_18); rule__Player__KnowledgeAssignment_4_1(); state._fsp--; } break; default : break loop19; } } while (true); after(grammarAccess.getPlayerAccess().getKnowledgeAssignment_4_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__Group_4__1__Impl" // $ANTLR start "rule__People__Group__0" // InternalGames.g:2676:1: rule__People__Group__0 : rule__People__Group__0__Impl rule__People__Group__1 ; public final void rule__People__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2680:1: ( rule__People__Group__0__Impl rule__People__Group__1 ) // InternalGames.g:2681:2: rule__People__Group__0__Impl rule__People__Group__1 { pushFollow(FOLLOW_3); rule__People__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__0" // $ANTLR start "rule__People__Group__0__Impl" // InternalGames.g:2688:1: rule__People__Group__0__Impl : ( 'people' ) ; public final void rule__People__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2692:1: ( ( 'people' ) ) // InternalGames.g:2693:1: ( 'people' ) { // InternalGames.g:2693:1: ( 'people' ) // InternalGames.g:2694:2: 'people' { before(grammarAccess.getPeopleAccess().getPeopleKeyword_0()); match(input,21,FOLLOW_2); after(grammarAccess.getPeopleAccess().getPeopleKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__0__Impl" // $ANTLR start "rule__People__Group__1" // InternalGames.g:2703:1: rule__People__Group__1 : rule__People__Group__1__Impl rule__People__Group__2 ; public final void rule__People__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2707:1: ( rule__People__Group__1__Impl rule__People__Group__2 ) // InternalGames.g:2708:2: rule__People__Group__1__Impl rule__People__Group__2 { pushFollow(FOLLOW_23); rule__People__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__1" // $ANTLR start "rule__People__Group__1__Impl" // InternalGames.g:2715:1: rule__People__Group__1__Impl : ( ( rule__People__NameAssignment_1 ) ) ; public final void rule__People__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2719:1: ( ( ( rule__People__NameAssignment_1 ) ) ) // InternalGames.g:2720:1: ( ( rule__People__NameAssignment_1 ) ) { // InternalGames.g:2720:1: ( ( rule__People__NameAssignment_1 ) ) // InternalGames.g:2721:2: ( rule__People__NameAssignment_1 ) { before(grammarAccess.getPeopleAccess().getNameAssignment_1()); // InternalGames.g:2722:2: ( rule__People__NameAssignment_1 ) // InternalGames.g:2722:3: rule__People__NameAssignment_1 { pushFollow(FOLLOW_2); rule__People__NameAssignment_1(); state._fsp--; } after(grammarAccess.getPeopleAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__1__Impl" // $ANTLR start "rule__People__Group__2" // InternalGames.g:2730:1: rule__People__Group__2 : rule__People__Group__2__Impl rule__People__Group__3 ; public final void rule__People__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2734:1: ( rule__People__Group__2__Impl rule__People__Group__3 ) // InternalGames.g:2735:2: rule__People__Group__2__Impl rule__People__Group__3 { pushFollow(FOLLOW_27); rule__People__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__2" // $ANTLR start "rule__People__Group__2__Impl" // InternalGames.g:2742:1: rule__People__Group__2__Impl : ( '{' ) ; public final void rule__People__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2746:1: ( ( '{' ) ) // InternalGames.g:2747:1: ( '{' ) { // InternalGames.g:2747:1: ( '{' ) // InternalGames.g:2748:2: '{' { before(grammarAccess.getPeopleAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getPeopleAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__2__Impl" // $ANTLR start "rule__People__Group__3" // InternalGames.g:2757:1: rule__People__Group__3 : rule__People__Group__3__Impl rule__People__Group__4 ; public final void rule__People__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2761:1: ( rule__People__Group__3__Impl rule__People__Group__4 ) // InternalGames.g:2762:2: rule__People__Group__3__Impl rule__People__Group__4 { pushFollow(FOLLOW_26); rule__People__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__3" // $ANTLR start "rule__People__Group__3__Impl" // InternalGames.g:2769:1: rule__People__Group__3__Impl : ( 'description' ) ; public final void rule__People__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2773:1: ( ( 'description' ) ) // InternalGames.g:2774:1: ( 'description' ) { // InternalGames.g:2774:1: ( 'description' ) // InternalGames.g:2775:2: 'description' { before(grammarAccess.getPeopleAccess().getDescriptionKeyword_3()); match(input,34,FOLLOW_2); after(grammarAccess.getPeopleAccess().getDescriptionKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__3__Impl" // $ANTLR start "rule__People__Group__4" // InternalGames.g:2784:1: rule__People__Group__4 : rule__People__Group__4__Impl rule__People__Group__5 ; public final void rule__People__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2788:1: ( rule__People__Group__4__Impl rule__People__Group__5 ) // InternalGames.g:2789:2: rule__People__Group__4__Impl rule__People__Group__5 { pushFollow(FOLLOW_28); rule__People__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__4" // $ANTLR start "rule__People__Group__4__Impl" // InternalGames.g:2796:1: rule__People__Group__4__Impl : ( ( rule__People__DescriptionAssignment_4 ) ) ; public final void rule__People__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2800:1: ( ( ( rule__People__DescriptionAssignment_4 ) ) ) // InternalGames.g:2801:1: ( ( rule__People__DescriptionAssignment_4 ) ) { // InternalGames.g:2801:1: ( ( rule__People__DescriptionAssignment_4 ) ) // InternalGames.g:2802:2: ( rule__People__DescriptionAssignment_4 ) { before(grammarAccess.getPeopleAccess().getDescriptionAssignment_4()); // InternalGames.g:2803:2: ( rule__People__DescriptionAssignment_4 ) // InternalGames.g:2803:3: rule__People__DescriptionAssignment_4 { pushFollow(FOLLOW_2); rule__People__DescriptionAssignment_4(); state._fsp--; } after(grammarAccess.getPeopleAccess().getDescriptionAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__4__Impl" // $ANTLR start "rule__People__Group__5" // InternalGames.g:2811:1: rule__People__Group__5 : rule__People__Group__5__Impl rule__People__Group__6 ; public final void rule__People__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2815:1: ( rule__People__Group__5__Impl rule__People__Group__6 ) // InternalGames.g:2816:2: rule__People__Group__5__Impl rule__People__Group__6 { pushFollow(FOLLOW_22); rule__People__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__5" // $ANTLR start "rule__People__Group__5__Impl" // InternalGames.g:2823:1: rule__People__Group__5__Impl : ( 'visible' ) ; public final void rule__People__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2827:1: ( ( 'visible' ) ) // InternalGames.g:2828:1: ( 'visible' ) { // InternalGames.g:2828:1: ( 'visible' ) // InternalGames.g:2829:2: 'visible' { before(grammarAccess.getPeopleAccess().getVisibleKeyword_5()); match(input,35,FOLLOW_2); after(grammarAccess.getPeopleAccess().getVisibleKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__5__Impl" // $ANTLR start "rule__People__Group__6" // InternalGames.g:2838:1: rule__People__Group__6 : rule__People__Group__6__Impl rule__People__Group__7 ; public final void rule__People__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2842:1: ( rule__People__Group__6__Impl rule__People__Group__7 ) // InternalGames.g:2843:2: rule__People__Group__6__Impl rule__People__Group__7 { pushFollow(FOLLOW_29); rule__People__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__6" // $ANTLR start "rule__People__Group__6__Impl" // InternalGames.g:2850:1: rule__People__Group__6__Impl : ( ( rule__People__VisibleAssignment_6 ) ) ; public final void rule__People__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2854:1: ( ( ( rule__People__VisibleAssignment_6 ) ) ) // InternalGames.g:2855:1: ( ( rule__People__VisibleAssignment_6 ) ) { // InternalGames.g:2855:1: ( ( rule__People__VisibleAssignment_6 ) ) // InternalGames.g:2856:2: ( rule__People__VisibleAssignment_6 ) { before(grammarAccess.getPeopleAccess().getVisibleAssignment_6()); // InternalGames.g:2857:2: ( rule__People__VisibleAssignment_6 ) // InternalGames.g:2857:3: rule__People__VisibleAssignment_6 { pushFollow(FOLLOW_2); rule__People__VisibleAssignment_6(); state._fsp--; } after(grammarAccess.getPeopleAccess().getVisibleAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__6__Impl" // $ANTLR start "rule__People__Group__7" // InternalGames.g:2865:1: rule__People__Group__7 : rule__People__Group__7__Impl rule__People__Group__8 ; public final void rule__People__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2869:1: ( rule__People__Group__7__Impl rule__People__Group__8 ) // InternalGames.g:2870:2: rule__People__Group__7__Impl rule__People__Group__8 { pushFollow(FOLLOW_29); rule__People__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__7" // $ANTLR start "rule__People__Group__7__Impl" // InternalGames.g:2877:1: rule__People__Group__7__Impl : ( ( rule__People__Group_7__0 )? ) ; public final void rule__People__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2881:1: ( ( ( rule__People__Group_7__0 )? ) ) // InternalGames.g:2882:1: ( ( rule__People__Group_7__0 )? ) { // InternalGames.g:2882:1: ( ( rule__People__Group_7__0 )? ) // InternalGames.g:2883:2: ( rule__People__Group_7__0 )? { before(grammarAccess.getPeopleAccess().getGroup_7()); // InternalGames.g:2884:2: ( rule__People__Group_7__0 )? int alt20=2; int LA20_0 = input.LA(1); if ( (LA20_0==38) ) { alt20=1; } switch (alt20) { case 1 : // InternalGames.g:2884:3: rule__People__Group_7__0 { pushFollow(FOLLOW_2); rule__People__Group_7__0(); state._fsp--; } break; } after(grammarAccess.getPeopleAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__7__Impl" // $ANTLR start "rule__People__Group__8" // InternalGames.g:2892:1: rule__People__Group__8 : rule__People__Group__8__Impl rule__People__Group__9 ; public final void rule__People__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2896:1: ( rule__People__Group__8__Impl rule__People__Group__9 ) // InternalGames.g:2897:2: rule__People__Group__8__Impl rule__People__Group__9 { pushFollow(FOLLOW_22); rule__People__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__8" // $ANTLR start "rule__People__Group__8__Impl" // InternalGames.g:2904:1: rule__People__Group__8__Impl : ( 'active' ) ; public final void rule__People__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2908:1: ( ( 'active' ) ) // InternalGames.g:2909:1: ( 'active' ) { // InternalGames.g:2909:1: ( 'active' ) // InternalGames.g:2910:2: 'active' { before(grammarAccess.getPeopleAccess().getActiveKeyword_8()); match(input,36,FOLLOW_2); after(grammarAccess.getPeopleAccess().getActiveKeyword_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__8__Impl" // $ANTLR start "rule__People__Group__9" // InternalGames.g:2919:1: rule__People__Group__9 : rule__People__Group__9__Impl rule__People__Group__10 ; public final void rule__People__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2923:1: ( rule__People__Group__9__Impl rule__People__Group__10 ) // InternalGames.g:2924:2: rule__People__Group__9__Impl rule__People__Group__10 { pushFollow(FOLLOW_30); rule__People__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__9" // $ANTLR start "rule__People__Group__9__Impl" // InternalGames.g:2931:1: rule__People__Group__9__Impl : ( ( rule__People__ActiveAssignment_9 ) ) ; public final void rule__People__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2935:1: ( ( ( rule__People__ActiveAssignment_9 ) ) ) // InternalGames.g:2936:1: ( ( rule__People__ActiveAssignment_9 ) ) { // InternalGames.g:2936:1: ( ( rule__People__ActiveAssignment_9 ) ) // InternalGames.g:2937:2: ( rule__People__ActiveAssignment_9 ) { before(grammarAccess.getPeopleAccess().getActiveAssignment_9()); // InternalGames.g:2938:2: ( rule__People__ActiveAssignment_9 ) // InternalGames.g:2938:3: rule__People__ActiveAssignment_9 { pushFollow(FOLLOW_2); rule__People__ActiveAssignment_9(); state._fsp--; } after(grammarAccess.getPeopleAccess().getActiveAssignment_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__9__Impl" // $ANTLR start "rule__People__Group__10" // InternalGames.g:2946:1: rule__People__Group__10 : rule__People__Group__10__Impl rule__People__Group__11 ; public final void rule__People__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2950:1: ( rule__People__Group__10__Impl rule__People__Group__11 ) // InternalGames.g:2951:2: rule__People__Group__10__Impl rule__People__Group__11 { pushFollow(FOLLOW_30); rule__People__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__10" // $ANTLR start "rule__People__Group__10__Impl" // InternalGames.g:2958:1: rule__People__Group__10__Impl : ( ( rule__People__Group_10__0 )? ) ; public final void rule__People__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2962:1: ( ( ( rule__People__Group_10__0 )? ) ) // InternalGames.g:2963:1: ( ( rule__People__Group_10__0 )? ) { // InternalGames.g:2963:1: ( ( rule__People__Group_10__0 )? ) // InternalGames.g:2964:2: ( rule__People__Group_10__0 )? { before(grammarAccess.getPeopleAccess().getGroup_10()); // InternalGames.g:2965:2: ( rule__People__Group_10__0 )? int alt21=2; int LA21_0 = input.LA(1); if ( (LA21_0==39) ) { alt21=1; } switch (alt21) { case 1 : // InternalGames.g:2965:3: rule__People__Group_10__0 { pushFollow(FOLLOW_2); rule__People__Group_10__0(); state._fsp--; } break; } after(grammarAccess.getPeopleAccess().getGroup_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__10__Impl" // $ANTLR start "rule__People__Group__11" // InternalGames.g:2973:1: rule__People__Group__11 : rule__People__Group__11__Impl rule__People__Group__12 ; public final void rule__People__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2977:1: ( rule__People__Group__11__Impl rule__People__Group__12 ) // InternalGames.g:2978:2: rule__People__Group__11__Impl rule__People__Group__12 { pushFollow(FOLLOW_22); rule__People__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__11" // $ANTLR start "rule__People__Group__11__Impl" // InternalGames.g:2985:1: rule__People__Group__11__Impl : ( 'isMandatory' ) ; public final void rule__People__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:2989:1: ( ( 'isMandatory' ) ) // InternalGames.g:2990:1: ( 'isMandatory' ) { // InternalGames.g:2990:1: ( 'isMandatory' ) // InternalGames.g:2991:2: 'isMandatory' { before(grammarAccess.getPeopleAccess().getIsMandatoryKeyword_11()); match(input,37,FOLLOW_2); after(grammarAccess.getPeopleAccess().getIsMandatoryKeyword_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__11__Impl" // $ANTLR start "rule__People__Group__12" // InternalGames.g:3000:1: rule__People__Group__12 : rule__People__Group__12__Impl rule__People__Group__13 ; public final void rule__People__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3004:1: ( rule__People__Group__12__Impl rule__People__Group__13 ) // InternalGames.g:3005:2: rule__People__Group__12__Impl rule__People__Group__13 { pushFollow(FOLLOW_31); rule__People__Group__12__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__13(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__12" // $ANTLR start "rule__People__Group__12__Impl" // InternalGames.g:3012:1: rule__People__Group__12__Impl : ( ( rule__People__IsMandatoryAssignment_12 ) ) ; public final void rule__People__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3016:1: ( ( ( rule__People__IsMandatoryAssignment_12 ) ) ) // InternalGames.g:3017:1: ( ( rule__People__IsMandatoryAssignment_12 ) ) { // InternalGames.g:3017:1: ( ( rule__People__IsMandatoryAssignment_12 ) ) // InternalGames.g:3018:2: ( rule__People__IsMandatoryAssignment_12 ) { before(grammarAccess.getPeopleAccess().getIsMandatoryAssignment_12()); // InternalGames.g:3019:2: ( rule__People__IsMandatoryAssignment_12 ) // InternalGames.g:3019:3: rule__People__IsMandatoryAssignment_12 { pushFollow(FOLLOW_2); rule__People__IsMandatoryAssignment_12(); state._fsp--; } after(grammarAccess.getPeopleAccess().getIsMandatoryAssignment_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__12__Impl" // $ANTLR start "rule__People__Group__13" // InternalGames.g:3027:1: rule__People__Group__13 : rule__People__Group__13__Impl rule__People__Group__14 ; public final void rule__People__Group__13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3031:1: ( rule__People__Group__13__Impl rule__People__Group__14 ) // InternalGames.g:3032:2: rule__People__Group__13__Impl rule__People__Group__14 { pushFollow(FOLLOW_31); rule__People__Group__13__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group__14(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__13" // $ANTLR start "rule__People__Group__13__Impl" // InternalGames.g:3039:1: rule__People__Group__13__Impl : ( ( rule__People__InteractionAssignment_13 )? ) ; public final void rule__People__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3043:1: ( ( ( rule__People__InteractionAssignment_13 )? ) ) // InternalGames.g:3044:1: ( ( rule__People__InteractionAssignment_13 )? ) { // InternalGames.g:3044:1: ( ( rule__People__InteractionAssignment_13 )? ) // InternalGames.g:3045:2: ( rule__People__InteractionAssignment_13 )? { before(grammarAccess.getPeopleAccess().getInteractionAssignment_13()); // InternalGames.g:3046:2: ( rule__People__InteractionAssignment_13 )? int alt22=2; int LA22_0 = input.LA(1); if ( (LA22_0==65) ) { alt22=1; } switch (alt22) { case 1 : // InternalGames.g:3046:3: rule__People__InteractionAssignment_13 { pushFollow(FOLLOW_2); rule__People__InteractionAssignment_13(); state._fsp--; } break; } after(grammarAccess.getPeopleAccess().getInteractionAssignment_13()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__13__Impl" // $ANTLR start "rule__People__Group__14" // InternalGames.g:3054:1: rule__People__Group__14 : rule__People__Group__14__Impl ; public final void rule__People__Group__14() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3058:1: ( rule__People__Group__14__Impl ) // InternalGames.g:3059:2: rule__People__Group__14__Impl { pushFollow(FOLLOW_2); rule__People__Group__14__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__14" // $ANTLR start "rule__People__Group__14__Impl" // InternalGames.g:3065:1: rule__People__Group__14__Impl : ( '}' ) ; public final void rule__People__Group__14__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3069:1: ( ( '}' ) ) // InternalGames.g:3070:1: ( '}' ) { // InternalGames.g:3070:1: ( '}' ) // InternalGames.g:3071:2: '}' { before(grammarAccess.getPeopleAccess().getRightCurlyBracketKeyword_14()); match(input,32,FOLLOW_2); after(grammarAccess.getPeopleAccess().getRightCurlyBracketKeyword_14()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group__14__Impl" // $ANTLR start "rule__People__Group_7__0" // InternalGames.g:3081:1: rule__People__Group_7__0 : rule__People__Group_7__0__Impl rule__People__Group_7__1 ; public final void rule__People__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3085:1: ( rule__People__Group_7__0__Impl rule__People__Group_7__1 ) // InternalGames.g:3086:2: rule__People__Group_7__0__Impl rule__People__Group_7__1 { pushFollow(FOLLOW_32); rule__People__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_7__0" // $ANTLR start "rule__People__Group_7__0__Impl" // InternalGames.g:3093:1: rule__People__Group_7__0__Impl : ( 'conditionsVisible' ) ; public final void rule__People__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3097:1: ( ( 'conditionsVisible' ) ) // InternalGames.g:3098:1: ( 'conditionsVisible' ) { // InternalGames.g:3098:1: ( 'conditionsVisible' ) // InternalGames.g:3099:2: 'conditionsVisible' { before(grammarAccess.getPeopleAccess().getConditionsVisibleKeyword_7_0()); match(input,38,FOLLOW_2); after(grammarAccess.getPeopleAccess().getConditionsVisibleKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_7__0__Impl" // $ANTLR start "rule__People__Group_7__1" // InternalGames.g:3108:1: rule__People__Group_7__1 : rule__People__Group_7__1__Impl ; public final void rule__People__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3112:1: ( rule__People__Group_7__1__Impl ) // InternalGames.g:3113:2: rule__People__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__People__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_7__1" // $ANTLR start "rule__People__Group_7__1__Impl" // InternalGames.g:3119:1: rule__People__Group_7__1__Impl : ( ( rule__People__ConditionsVisibleAssignment_7_1 )* ) ; public final void rule__People__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3123:1: ( ( ( rule__People__ConditionsVisibleAssignment_7_1 )* ) ) // InternalGames.g:3124:1: ( ( rule__People__ConditionsVisibleAssignment_7_1 )* ) { // InternalGames.g:3124:1: ( ( rule__People__ConditionsVisibleAssignment_7_1 )* ) // InternalGames.g:3125:2: ( rule__People__ConditionsVisibleAssignment_7_1 )* { before(grammarAccess.getPeopleAccess().getConditionsVisibleAssignment_7_1()); // InternalGames.g:3126:2: ( rule__People__ConditionsVisibleAssignment_7_1 )* loop23: do { int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==59) ) { alt23=1; } switch (alt23) { case 1 : // InternalGames.g:3126:3: rule__People__ConditionsVisibleAssignment_7_1 { pushFollow(FOLLOW_33); rule__People__ConditionsVisibleAssignment_7_1(); state._fsp--; } break; default : break loop23; } } while (true); after(grammarAccess.getPeopleAccess().getConditionsVisibleAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_7__1__Impl" // $ANTLR start "rule__People__Group_10__0" // InternalGames.g:3135:1: rule__People__Group_10__0 : rule__People__Group_10__0__Impl rule__People__Group_10__1 ; public final void rule__People__Group_10__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3139:1: ( rule__People__Group_10__0__Impl rule__People__Group_10__1 ) // InternalGames.g:3140:2: rule__People__Group_10__0__Impl rule__People__Group_10__1 { pushFollow(FOLLOW_32); rule__People__Group_10__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__People__Group_10__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_10__0" // $ANTLR start "rule__People__Group_10__0__Impl" // InternalGames.g:3147:1: rule__People__Group_10__0__Impl : ( 'conditionsActive' ) ; public final void rule__People__Group_10__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3151:1: ( ( 'conditionsActive' ) ) // InternalGames.g:3152:1: ( 'conditionsActive' ) { // InternalGames.g:3152:1: ( 'conditionsActive' ) // InternalGames.g:3153:2: 'conditionsActive' { before(grammarAccess.getPeopleAccess().getConditionsActiveKeyword_10_0()); match(input,39,FOLLOW_2); after(grammarAccess.getPeopleAccess().getConditionsActiveKeyword_10_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_10__0__Impl" // $ANTLR start "rule__People__Group_10__1" // InternalGames.g:3162:1: rule__People__Group_10__1 : rule__People__Group_10__1__Impl ; public final void rule__People__Group_10__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3166:1: ( rule__People__Group_10__1__Impl ) // InternalGames.g:3167:2: rule__People__Group_10__1__Impl { pushFollow(FOLLOW_2); rule__People__Group_10__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_10__1" // $ANTLR start "rule__People__Group_10__1__Impl" // InternalGames.g:3173:1: rule__People__Group_10__1__Impl : ( ( rule__People__ConditionsActiveAssignment_10_1 )* ) ; public final void rule__People__Group_10__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3177:1: ( ( ( rule__People__ConditionsActiveAssignment_10_1 )* ) ) // InternalGames.g:3178:1: ( ( rule__People__ConditionsActiveAssignment_10_1 )* ) { // InternalGames.g:3178:1: ( ( rule__People__ConditionsActiveAssignment_10_1 )* ) // InternalGames.g:3179:2: ( rule__People__ConditionsActiveAssignment_10_1 )* { before(grammarAccess.getPeopleAccess().getConditionsActiveAssignment_10_1()); // InternalGames.g:3180:2: ( rule__People__ConditionsActiveAssignment_10_1 )* loop24: do { int alt24=2; int LA24_0 = input.LA(1); if ( (LA24_0==59) ) { alt24=1; } switch (alt24) { case 1 : // InternalGames.g:3180:3: rule__People__ConditionsActiveAssignment_10_1 { pushFollow(FOLLOW_33); rule__People__ConditionsActiveAssignment_10_1(); state._fsp--; } break; default : break loop24; } } while (true); after(grammarAccess.getPeopleAccess().getConditionsActiveAssignment_10_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__Group_10__1__Impl" // $ANTLR start "rule__Path__Group__0" // InternalGames.g:3189:1: rule__Path__Group__0 : rule__Path__Group__0__Impl rule__Path__Group__1 ; public final void rule__Path__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3193:1: ( rule__Path__Group__0__Impl rule__Path__Group__1 ) // InternalGames.g:3194:2: rule__Path__Group__0__Impl rule__Path__Group__1 { pushFollow(FOLLOW_3); rule__Path__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__0" // $ANTLR start "rule__Path__Group__0__Impl" // InternalGames.g:3201:1: rule__Path__Group__0__Impl : ( 'path' ) ; public final void rule__Path__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3205:1: ( ( 'path' ) ) // InternalGames.g:3206:1: ( 'path' ) { // InternalGames.g:3206:1: ( 'path' ) // InternalGames.g:3207:2: 'path' { before(grammarAccess.getPathAccess().getPathKeyword_0()); match(input,22,FOLLOW_2); after(grammarAccess.getPathAccess().getPathKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__0__Impl" // $ANTLR start "rule__Path__Group__1" // InternalGames.g:3216:1: rule__Path__Group__1 : rule__Path__Group__1__Impl rule__Path__Group__2 ; public final void rule__Path__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3220:1: ( rule__Path__Group__1__Impl rule__Path__Group__2 ) // InternalGames.g:3221:2: rule__Path__Group__1__Impl rule__Path__Group__2 { pushFollow(FOLLOW_23); rule__Path__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__1" // $ANTLR start "rule__Path__Group__1__Impl" // InternalGames.g:3228:1: rule__Path__Group__1__Impl : ( ( rule__Path__NameAssignment_1 ) ) ; public final void rule__Path__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3232:1: ( ( ( rule__Path__NameAssignment_1 ) ) ) // InternalGames.g:3233:1: ( ( rule__Path__NameAssignment_1 ) ) { // InternalGames.g:3233:1: ( ( rule__Path__NameAssignment_1 ) ) // InternalGames.g:3234:2: ( rule__Path__NameAssignment_1 ) { before(grammarAccess.getPathAccess().getNameAssignment_1()); // InternalGames.g:3235:2: ( rule__Path__NameAssignment_1 ) // InternalGames.g:3235:3: rule__Path__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Path__NameAssignment_1(); state._fsp--; } after(grammarAccess.getPathAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__1__Impl" // $ANTLR start "rule__Path__Group__2" // InternalGames.g:3243:1: rule__Path__Group__2 : rule__Path__Group__2__Impl rule__Path__Group__3 ; public final void rule__Path__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3247:1: ( rule__Path__Group__2__Impl rule__Path__Group__3 ) // InternalGames.g:3248:2: rule__Path__Group__2__Impl rule__Path__Group__3 { pushFollow(FOLLOW_27); rule__Path__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__2" // $ANTLR start "rule__Path__Group__2__Impl" // InternalGames.g:3255:1: rule__Path__Group__2__Impl : ( '{' ) ; public final void rule__Path__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3259:1: ( ( '{' ) ) // InternalGames.g:3260:1: ( '{' ) { // InternalGames.g:3260:1: ( '{' ) // InternalGames.g:3261:2: '{' { before(grammarAccess.getPathAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getPathAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__2__Impl" // $ANTLR start "rule__Path__Group__3" // InternalGames.g:3270:1: rule__Path__Group__3 : rule__Path__Group__3__Impl rule__Path__Group__4 ; public final void rule__Path__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3274:1: ( rule__Path__Group__3__Impl rule__Path__Group__4 ) // InternalGames.g:3275:2: rule__Path__Group__3__Impl rule__Path__Group__4 { pushFollow(FOLLOW_26); rule__Path__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__3" // $ANTLR start "rule__Path__Group__3__Impl" // InternalGames.g:3282:1: rule__Path__Group__3__Impl : ( 'description' ) ; public final void rule__Path__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3286:1: ( ( 'description' ) ) // InternalGames.g:3287:1: ( 'description' ) { // InternalGames.g:3287:1: ( 'description' ) // InternalGames.g:3288:2: 'description' { before(grammarAccess.getPathAccess().getDescriptionKeyword_3()); match(input,34,FOLLOW_2); after(grammarAccess.getPathAccess().getDescriptionKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__3__Impl" // $ANTLR start "rule__Path__Group__4" // InternalGames.g:3297:1: rule__Path__Group__4 : rule__Path__Group__4__Impl rule__Path__Group__5 ; public final void rule__Path__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3301:1: ( rule__Path__Group__4__Impl rule__Path__Group__5 ) // InternalGames.g:3302:2: rule__Path__Group__4__Impl rule__Path__Group__5 { pushFollow(FOLLOW_28); rule__Path__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__4" // $ANTLR start "rule__Path__Group__4__Impl" // InternalGames.g:3309:1: rule__Path__Group__4__Impl : ( ( rule__Path__DescriptionAssignment_4 ) ) ; public final void rule__Path__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3313:1: ( ( ( rule__Path__DescriptionAssignment_4 ) ) ) // InternalGames.g:3314:1: ( ( rule__Path__DescriptionAssignment_4 ) ) { // InternalGames.g:3314:1: ( ( rule__Path__DescriptionAssignment_4 ) ) // InternalGames.g:3315:2: ( rule__Path__DescriptionAssignment_4 ) { before(grammarAccess.getPathAccess().getDescriptionAssignment_4()); // InternalGames.g:3316:2: ( rule__Path__DescriptionAssignment_4 ) // InternalGames.g:3316:3: rule__Path__DescriptionAssignment_4 { pushFollow(FOLLOW_2); rule__Path__DescriptionAssignment_4(); state._fsp--; } after(grammarAccess.getPathAccess().getDescriptionAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__4__Impl" // $ANTLR start "rule__Path__Group__5" // InternalGames.g:3324:1: rule__Path__Group__5 : rule__Path__Group__5__Impl rule__Path__Group__6 ; public final void rule__Path__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3328:1: ( rule__Path__Group__5__Impl rule__Path__Group__6 ) // InternalGames.g:3329:2: rule__Path__Group__5__Impl rule__Path__Group__6 { pushFollow(FOLLOW_22); rule__Path__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__5" // $ANTLR start "rule__Path__Group__5__Impl" // InternalGames.g:3336:1: rule__Path__Group__5__Impl : ( 'visible' ) ; public final void rule__Path__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3340:1: ( ( 'visible' ) ) // InternalGames.g:3341:1: ( 'visible' ) { // InternalGames.g:3341:1: ( 'visible' ) // InternalGames.g:3342:2: 'visible' { before(grammarAccess.getPathAccess().getVisibleKeyword_5()); match(input,35,FOLLOW_2); after(grammarAccess.getPathAccess().getVisibleKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__5__Impl" // $ANTLR start "rule__Path__Group__6" // InternalGames.g:3351:1: rule__Path__Group__6 : rule__Path__Group__6__Impl rule__Path__Group__7 ; public final void rule__Path__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3355:1: ( rule__Path__Group__6__Impl rule__Path__Group__7 ) // InternalGames.g:3356:2: rule__Path__Group__6__Impl rule__Path__Group__7 { pushFollow(FOLLOW_34); rule__Path__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__6" // $ANTLR start "rule__Path__Group__6__Impl" // InternalGames.g:3363:1: rule__Path__Group__6__Impl : ( ( rule__Path__VisibleAssignment_6 ) ) ; public final void rule__Path__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3367:1: ( ( ( rule__Path__VisibleAssignment_6 ) ) ) // InternalGames.g:3368:1: ( ( rule__Path__VisibleAssignment_6 ) ) { // InternalGames.g:3368:1: ( ( rule__Path__VisibleAssignment_6 ) ) // InternalGames.g:3369:2: ( rule__Path__VisibleAssignment_6 ) { before(grammarAccess.getPathAccess().getVisibleAssignment_6()); // InternalGames.g:3370:2: ( rule__Path__VisibleAssignment_6 ) // InternalGames.g:3370:3: rule__Path__VisibleAssignment_6 { pushFollow(FOLLOW_2); rule__Path__VisibleAssignment_6(); state._fsp--; } after(grammarAccess.getPathAccess().getVisibleAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__6__Impl" // $ANTLR start "rule__Path__Group__7" // InternalGames.g:3378:1: rule__Path__Group__7 : rule__Path__Group__7__Impl rule__Path__Group__8 ; public final void rule__Path__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3382:1: ( rule__Path__Group__7__Impl rule__Path__Group__8 ) // InternalGames.g:3383:2: rule__Path__Group__7__Impl rule__Path__Group__8 { pushFollow(FOLLOW_34); rule__Path__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__7" // $ANTLR start "rule__Path__Group__7__Impl" // InternalGames.g:3390:1: rule__Path__Group__7__Impl : ( ( rule__Path__Group_7__0 )? ) ; public final void rule__Path__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3394:1: ( ( ( rule__Path__Group_7__0 )? ) ) // InternalGames.g:3395:1: ( ( rule__Path__Group_7__0 )? ) { // InternalGames.g:3395:1: ( ( rule__Path__Group_7__0 )? ) // InternalGames.g:3396:2: ( rule__Path__Group_7__0 )? { before(grammarAccess.getPathAccess().getGroup_7()); // InternalGames.g:3397:2: ( rule__Path__Group_7__0 )? int alt25=2; int LA25_0 = input.LA(1); if ( (LA25_0==38) ) { alt25=1; } switch (alt25) { case 1 : // InternalGames.g:3397:3: rule__Path__Group_7__0 { pushFollow(FOLLOW_2); rule__Path__Group_7__0(); state._fsp--; } break; } after(grammarAccess.getPathAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__7__Impl" // $ANTLR start "rule__Path__Group__8" // InternalGames.g:3405:1: rule__Path__Group__8 : rule__Path__Group__8__Impl rule__Path__Group__9 ; public final void rule__Path__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3409:1: ( rule__Path__Group__8__Impl rule__Path__Group__9 ) // InternalGames.g:3410:2: rule__Path__Group__8__Impl rule__Path__Group__9 { pushFollow(FOLLOW_3); rule__Path__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__8" // $ANTLR start "rule__Path__Group__8__Impl" // InternalGames.g:3417:1: rule__Path__Group__8__Impl : ( 'endPlace' ) ; public final void rule__Path__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3421:1: ( ( 'endPlace' ) ) // InternalGames.g:3422:1: ( 'endPlace' ) { // InternalGames.g:3422:1: ( 'endPlace' ) // InternalGames.g:3423:2: 'endPlace' { before(grammarAccess.getPathAccess().getEndPlaceKeyword_8()); match(input,24,FOLLOW_2); after(grammarAccess.getPathAccess().getEndPlaceKeyword_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__8__Impl" // $ANTLR start "rule__Path__Group__9" // InternalGames.g:3432:1: rule__Path__Group__9 : rule__Path__Group__9__Impl rule__Path__Group__10 ; public final void rule__Path__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3436:1: ( rule__Path__Group__9__Impl rule__Path__Group__10 ) // InternalGames.g:3437:2: rule__Path__Group__9__Impl rule__Path__Group__10 { pushFollow(FOLLOW_35); rule__Path__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__9" // $ANTLR start "rule__Path__Group__9__Impl" // InternalGames.g:3444:1: rule__Path__Group__9__Impl : ( ( rule__Path__EndPlaceAssignment_9 ) ) ; public final void rule__Path__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3448:1: ( ( ( rule__Path__EndPlaceAssignment_9 ) ) ) // InternalGames.g:3449:1: ( ( rule__Path__EndPlaceAssignment_9 ) ) { // InternalGames.g:3449:1: ( ( rule__Path__EndPlaceAssignment_9 ) ) // InternalGames.g:3450:2: ( rule__Path__EndPlaceAssignment_9 ) { before(grammarAccess.getPathAccess().getEndPlaceAssignment_9()); // InternalGames.g:3451:2: ( rule__Path__EndPlaceAssignment_9 ) // InternalGames.g:3451:3: rule__Path__EndPlaceAssignment_9 { pushFollow(FOLLOW_2); rule__Path__EndPlaceAssignment_9(); state._fsp--; } after(grammarAccess.getPathAccess().getEndPlaceAssignment_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__9__Impl" // $ANTLR start "rule__Path__Group__10" // InternalGames.g:3459:1: rule__Path__Group__10 : rule__Path__Group__10__Impl rule__Path__Group__11 ; public final void rule__Path__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3463:1: ( rule__Path__Group__10__Impl rule__Path__Group__11 ) // InternalGames.g:3464:2: rule__Path__Group__10__Impl rule__Path__Group__11 { pushFollow(FOLLOW_22); rule__Path__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__10" // $ANTLR start "rule__Path__Group__10__Impl" // InternalGames.g:3471:1: rule__Path__Group__10__Impl : ( 'isOpen' ) ; public final void rule__Path__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3475:1: ( ( 'isOpen' ) ) // InternalGames.g:3476:1: ( 'isOpen' ) { // InternalGames.g:3476:1: ( 'isOpen' ) // InternalGames.g:3477:2: 'isOpen' { before(grammarAccess.getPathAccess().getIsOpenKeyword_10()); match(input,40,FOLLOW_2); after(grammarAccess.getPathAccess().getIsOpenKeyword_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__10__Impl" // $ANTLR start "rule__Path__Group__11" // InternalGames.g:3486:1: rule__Path__Group__11 : rule__Path__Group__11__Impl rule__Path__Group__12 ; public final void rule__Path__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3490:1: ( rule__Path__Group__11__Impl rule__Path__Group__12 ) // InternalGames.g:3491:2: rule__Path__Group__11__Impl rule__Path__Group__12 { pushFollow(FOLLOW_36); rule__Path__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__11" // $ANTLR start "rule__Path__Group__11__Impl" // InternalGames.g:3498:1: rule__Path__Group__11__Impl : ( ( rule__Path__IsOpenAssignment_11 ) ) ; public final void rule__Path__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3502:1: ( ( ( rule__Path__IsOpenAssignment_11 ) ) ) // InternalGames.g:3503:1: ( ( rule__Path__IsOpenAssignment_11 ) ) { // InternalGames.g:3503:1: ( ( rule__Path__IsOpenAssignment_11 ) ) // InternalGames.g:3504:2: ( rule__Path__IsOpenAssignment_11 ) { before(grammarAccess.getPathAccess().getIsOpenAssignment_11()); // InternalGames.g:3505:2: ( rule__Path__IsOpenAssignment_11 ) // InternalGames.g:3505:3: rule__Path__IsOpenAssignment_11 { pushFollow(FOLLOW_2); rule__Path__IsOpenAssignment_11(); state._fsp--; } after(grammarAccess.getPathAccess().getIsOpenAssignment_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__11__Impl" // $ANTLR start "rule__Path__Group__12" // InternalGames.g:3513:1: rule__Path__Group__12 : rule__Path__Group__12__Impl rule__Path__Group__13 ; public final void rule__Path__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3517:1: ( rule__Path__Group__12__Impl rule__Path__Group__13 ) // InternalGames.g:3518:2: rule__Path__Group__12__Impl rule__Path__Group__13 { pushFollow(FOLLOW_36); rule__Path__Group__12__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__13(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__12" // $ANTLR start "rule__Path__Group__12__Impl" // InternalGames.g:3525:1: rule__Path__Group__12__Impl : ( ( rule__Path__Group_12__0 )? ) ; public final void rule__Path__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3529:1: ( ( ( rule__Path__Group_12__0 )? ) ) // InternalGames.g:3530:1: ( ( rule__Path__Group_12__0 )? ) { // InternalGames.g:3530:1: ( ( rule__Path__Group_12__0 )? ) // InternalGames.g:3531:2: ( rule__Path__Group_12__0 )? { before(grammarAccess.getPathAccess().getGroup_12()); // InternalGames.g:3532:2: ( rule__Path__Group_12__0 )? int alt26=2; int LA26_0 = input.LA(1); if ( (LA26_0==41) ) { alt26=1; } switch (alt26) { case 1 : // InternalGames.g:3532:3: rule__Path__Group_12__0 { pushFollow(FOLLOW_2); rule__Path__Group_12__0(); state._fsp--; } break; } after(grammarAccess.getPathAccess().getGroup_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__12__Impl" // $ANTLR start "rule__Path__Group__13" // InternalGames.g:3540:1: rule__Path__Group__13 : rule__Path__Group__13__Impl rule__Path__Group__14 ; public final void rule__Path__Group__13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3544:1: ( rule__Path__Group__13__Impl rule__Path__Group__14 ) // InternalGames.g:3545:2: rule__Path__Group__13__Impl rule__Path__Group__14 { pushFollow(FOLLOW_22); rule__Path__Group__13__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__14(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__13" // $ANTLR start "rule__Path__Group__13__Impl" // InternalGames.g:3552:1: rule__Path__Group__13__Impl : ( 'isMandatory' ) ; public final void rule__Path__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3556:1: ( ( 'isMandatory' ) ) // InternalGames.g:3557:1: ( 'isMandatory' ) { // InternalGames.g:3557:1: ( 'isMandatory' ) // InternalGames.g:3558:2: 'isMandatory' { before(grammarAccess.getPathAccess().getIsMandatoryKeyword_13()); match(input,37,FOLLOW_2); after(grammarAccess.getPathAccess().getIsMandatoryKeyword_13()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__13__Impl" // $ANTLR start "rule__Path__Group__14" // InternalGames.g:3567:1: rule__Path__Group__14 : rule__Path__Group__14__Impl rule__Path__Group__15 ; public final void rule__Path__Group__14() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3571:1: ( rule__Path__Group__14__Impl rule__Path__Group__15 ) // InternalGames.g:3572:2: rule__Path__Group__14__Impl rule__Path__Group__15 { pushFollow(FOLLOW_37); rule__Path__Group__14__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__15(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__14" // $ANTLR start "rule__Path__Group__14__Impl" // InternalGames.g:3579:1: rule__Path__Group__14__Impl : ( ( rule__Path__IsMandatoryAssignment_14 ) ) ; public final void rule__Path__Group__14__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3583:1: ( ( ( rule__Path__IsMandatoryAssignment_14 ) ) ) // InternalGames.g:3584:1: ( ( rule__Path__IsMandatoryAssignment_14 ) ) { // InternalGames.g:3584:1: ( ( rule__Path__IsMandatoryAssignment_14 ) ) // InternalGames.g:3585:2: ( rule__Path__IsMandatoryAssignment_14 ) { before(grammarAccess.getPathAccess().getIsMandatoryAssignment_14()); // InternalGames.g:3586:2: ( rule__Path__IsMandatoryAssignment_14 ) // InternalGames.g:3586:3: rule__Path__IsMandatoryAssignment_14 { pushFollow(FOLLOW_2); rule__Path__IsMandatoryAssignment_14(); state._fsp--; } after(grammarAccess.getPathAccess().getIsMandatoryAssignment_14()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__14__Impl" // $ANTLR start "rule__Path__Group__15" // InternalGames.g:3594:1: rule__Path__Group__15 : rule__Path__Group__15__Impl rule__Path__Group__16 ; public final void rule__Path__Group__15() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3598:1: ( rule__Path__Group__15__Impl rule__Path__Group__16 ) // InternalGames.g:3599:2: rule__Path__Group__15__Impl rule__Path__Group__16 { pushFollow(FOLLOW_37); rule__Path__Group__15__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__16(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__15" // $ANTLR start "rule__Path__Group__15__Impl" // InternalGames.g:3606:1: rule__Path__Group__15__Impl : ( ( rule__Path__Group_15__0 )? ) ; public final void rule__Path__Group__15__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3610:1: ( ( ( rule__Path__Group_15__0 )? ) ) // InternalGames.g:3611:1: ( ( rule__Path__Group_15__0 )? ) { // InternalGames.g:3611:1: ( ( rule__Path__Group_15__0 )? ) // InternalGames.g:3612:2: ( rule__Path__Group_15__0 )? { before(grammarAccess.getPathAccess().getGroup_15()); // InternalGames.g:3613:2: ( rule__Path__Group_15__0 )? int alt27=2; int LA27_0 = input.LA(1); if ( (LA27_0==42) ) { alt27=1; } switch (alt27) { case 1 : // InternalGames.g:3613:3: rule__Path__Group_15__0 { pushFollow(FOLLOW_2); rule__Path__Group_15__0(); state._fsp--; } break; } after(grammarAccess.getPathAccess().getGroup_15()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__15__Impl" // $ANTLR start "rule__Path__Group__16" // InternalGames.g:3621:1: rule__Path__Group__16 : rule__Path__Group__16__Impl rule__Path__Group__17 ; public final void rule__Path__Group__16() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3625:1: ( rule__Path__Group__16__Impl rule__Path__Group__17 ) // InternalGames.g:3626:2: rule__Path__Group__16__Impl rule__Path__Group__17 { pushFollow(FOLLOW_37); rule__Path__Group__16__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__17(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__16" // $ANTLR start "rule__Path__Group__16__Impl" // InternalGames.g:3633:1: rule__Path__Group__16__Impl : ( ( rule__Path__Group_16__0 )? ) ; public final void rule__Path__Group__16__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3637:1: ( ( ( rule__Path__Group_16__0 )? ) ) // InternalGames.g:3638:1: ( ( rule__Path__Group_16__0 )? ) { // InternalGames.g:3638:1: ( ( rule__Path__Group_16__0 )? ) // InternalGames.g:3639:2: ( rule__Path__Group_16__0 )? { before(grammarAccess.getPathAccess().getGroup_16()); // InternalGames.g:3640:2: ( rule__Path__Group_16__0 )? int alt28=2; int LA28_0 = input.LA(1); if ( (LA28_0==43) ) { alt28=1; } switch (alt28) { case 1 : // InternalGames.g:3640:3: rule__Path__Group_16__0 { pushFollow(FOLLOW_2); rule__Path__Group_16__0(); state._fsp--; } break; } after(grammarAccess.getPathAccess().getGroup_16()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__16__Impl" // $ANTLR start "rule__Path__Group__17" // InternalGames.g:3648:1: rule__Path__Group__17 : rule__Path__Group__17__Impl rule__Path__Group__18 ; public final void rule__Path__Group__17() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3652:1: ( rule__Path__Group__17__Impl rule__Path__Group__18 ) // InternalGames.g:3653:2: rule__Path__Group__17__Impl rule__Path__Group__18 { pushFollow(FOLLOW_37); rule__Path__Group__17__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group__18(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__17" // $ANTLR start "rule__Path__Group__17__Impl" // InternalGames.g:3660:1: rule__Path__Group__17__Impl : ( ( rule__Path__Group_17__0 )? ) ; public final void rule__Path__Group__17__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3664:1: ( ( ( rule__Path__Group_17__0 )? ) ) // InternalGames.g:3665:1: ( ( rule__Path__Group_17__0 )? ) { // InternalGames.g:3665:1: ( ( rule__Path__Group_17__0 )? ) // InternalGames.g:3666:2: ( rule__Path__Group_17__0 )? { before(grammarAccess.getPathAccess().getGroup_17()); // InternalGames.g:3667:2: ( rule__Path__Group_17__0 )? int alt29=2; int LA29_0 = input.LA(1); if ( (LA29_0==44) ) { alt29=1; } switch (alt29) { case 1 : // InternalGames.g:3667:3: rule__Path__Group_17__0 { pushFollow(FOLLOW_2); rule__Path__Group_17__0(); state._fsp--; } break; } after(grammarAccess.getPathAccess().getGroup_17()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__17__Impl" // $ANTLR start "rule__Path__Group__18" // InternalGames.g:3675:1: rule__Path__Group__18 : rule__Path__Group__18__Impl ; public final void rule__Path__Group__18() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3679:1: ( rule__Path__Group__18__Impl ) // InternalGames.g:3680:2: rule__Path__Group__18__Impl { pushFollow(FOLLOW_2); rule__Path__Group__18__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__18" // $ANTLR start "rule__Path__Group__18__Impl" // InternalGames.g:3686:1: rule__Path__Group__18__Impl : ( '}' ) ; public final void rule__Path__Group__18__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3690:1: ( ( '}' ) ) // InternalGames.g:3691:1: ( '}' ) { // InternalGames.g:3691:1: ( '}' ) // InternalGames.g:3692:2: '}' { before(grammarAccess.getPathAccess().getRightCurlyBracketKeyword_18()); match(input,32,FOLLOW_2); after(grammarAccess.getPathAccess().getRightCurlyBracketKeyword_18()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group__18__Impl" // $ANTLR start "rule__Path__Group_7__0" // InternalGames.g:3702:1: rule__Path__Group_7__0 : rule__Path__Group_7__0__Impl rule__Path__Group_7__1 ; public final void rule__Path__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3706:1: ( rule__Path__Group_7__0__Impl rule__Path__Group_7__1 ) // InternalGames.g:3707:2: rule__Path__Group_7__0__Impl rule__Path__Group_7__1 { pushFollow(FOLLOW_32); rule__Path__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_7__0" // $ANTLR start "rule__Path__Group_7__0__Impl" // InternalGames.g:3714:1: rule__Path__Group_7__0__Impl : ( 'conditionsVisible' ) ; public final void rule__Path__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3718:1: ( ( 'conditionsVisible' ) ) // InternalGames.g:3719:1: ( 'conditionsVisible' ) { // InternalGames.g:3719:1: ( 'conditionsVisible' ) // InternalGames.g:3720:2: 'conditionsVisible' { before(grammarAccess.getPathAccess().getConditionsVisibleKeyword_7_0()); match(input,38,FOLLOW_2); after(grammarAccess.getPathAccess().getConditionsVisibleKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_7__0__Impl" // $ANTLR start "rule__Path__Group_7__1" // InternalGames.g:3729:1: rule__Path__Group_7__1 : rule__Path__Group_7__1__Impl ; public final void rule__Path__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3733:1: ( rule__Path__Group_7__1__Impl ) // InternalGames.g:3734:2: rule__Path__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__Path__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_7__1" // $ANTLR start "rule__Path__Group_7__1__Impl" // InternalGames.g:3740:1: rule__Path__Group_7__1__Impl : ( ( rule__Path__ConditionVisibleAssignment_7_1 )* ) ; public final void rule__Path__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3744:1: ( ( ( rule__Path__ConditionVisibleAssignment_7_1 )* ) ) // InternalGames.g:3745:1: ( ( rule__Path__ConditionVisibleAssignment_7_1 )* ) { // InternalGames.g:3745:1: ( ( rule__Path__ConditionVisibleAssignment_7_1 )* ) // InternalGames.g:3746:2: ( rule__Path__ConditionVisibleAssignment_7_1 )* { before(grammarAccess.getPathAccess().getConditionVisibleAssignment_7_1()); // InternalGames.g:3747:2: ( rule__Path__ConditionVisibleAssignment_7_1 )* loop30: do { int alt30=2; int LA30_0 = input.LA(1); if ( (LA30_0==59) ) { alt30=1; } switch (alt30) { case 1 : // InternalGames.g:3747:3: rule__Path__ConditionVisibleAssignment_7_1 { pushFollow(FOLLOW_33); rule__Path__ConditionVisibleAssignment_7_1(); state._fsp--; } break; default : break loop30; } } while (true); after(grammarAccess.getPathAccess().getConditionVisibleAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_7__1__Impl" // $ANTLR start "rule__Path__Group_12__0" // InternalGames.g:3756:1: rule__Path__Group_12__0 : rule__Path__Group_12__0__Impl rule__Path__Group_12__1 ; public final void rule__Path__Group_12__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3760:1: ( rule__Path__Group_12__0__Impl rule__Path__Group_12__1 ) // InternalGames.g:3761:2: rule__Path__Group_12__0__Impl rule__Path__Group_12__1 { pushFollow(FOLLOW_32); rule__Path__Group_12__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group_12__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_12__0" // $ANTLR start "rule__Path__Group_12__0__Impl" // InternalGames.g:3768:1: rule__Path__Group_12__0__Impl : ( 'conditionsOpen' ) ; public final void rule__Path__Group_12__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3772:1: ( ( 'conditionsOpen' ) ) // InternalGames.g:3773:1: ( 'conditionsOpen' ) { // InternalGames.g:3773:1: ( 'conditionsOpen' ) // InternalGames.g:3774:2: 'conditionsOpen' { before(grammarAccess.getPathAccess().getConditionsOpenKeyword_12_0()); match(input,41,FOLLOW_2); after(grammarAccess.getPathAccess().getConditionsOpenKeyword_12_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_12__0__Impl" // $ANTLR start "rule__Path__Group_12__1" // InternalGames.g:3783:1: rule__Path__Group_12__1 : rule__Path__Group_12__1__Impl ; public final void rule__Path__Group_12__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3787:1: ( rule__Path__Group_12__1__Impl ) // InternalGames.g:3788:2: rule__Path__Group_12__1__Impl { pushFollow(FOLLOW_2); rule__Path__Group_12__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_12__1" // $ANTLR start "rule__Path__Group_12__1__Impl" // InternalGames.g:3794:1: rule__Path__Group_12__1__Impl : ( ( rule__Path__ConditionsOpeningAssignment_12_1 )* ) ; public final void rule__Path__Group_12__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3798:1: ( ( ( rule__Path__ConditionsOpeningAssignment_12_1 )* ) ) // InternalGames.g:3799:1: ( ( rule__Path__ConditionsOpeningAssignment_12_1 )* ) { // InternalGames.g:3799:1: ( ( rule__Path__ConditionsOpeningAssignment_12_1 )* ) // InternalGames.g:3800:2: ( rule__Path__ConditionsOpeningAssignment_12_1 )* { before(grammarAccess.getPathAccess().getConditionsOpeningAssignment_12_1()); // InternalGames.g:3801:2: ( rule__Path__ConditionsOpeningAssignment_12_1 )* loop31: do { int alt31=2; int LA31_0 = input.LA(1); if ( (LA31_0==59) ) { alt31=1; } switch (alt31) { case 1 : // InternalGames.g:3801:3: rule__Path__ConditionsOpeningAssignment_12_1 { pushFollow(FOLLOW_33); rule__Path__ConditionsOpeningAssignment_12_1(); state._fsp--; } break; default : break loop31; } } while (true); after(grammarAccess.getPathAccess().getConditionsOpeningAssignment_12_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_12__1__Impl" // $ANTLR start "rule__Path__Group_15__0" // InternalGames.g:3810:1: rule__Path__Group_15__0 : rule__Path__Group_15__0__Impl rule__Path__Group_15__1 ; public final void rule__Path__Group_15__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3814:1: ( rule__Path__Group_15__0__Impl rule__Path__Group_15__1 ) // InternalGames.g:3815:2: rule__Path__Group_15__0__Impl rule__Path__Group_15__1 { pushFollow(FOLLOW_3); rule__Path__Group_15__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group_15__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_15__0" // $ANTLR start "rule__Path__Group_15__0__Impl" // InternalGames.g:3822:1: rule__Path__Group_15__0__Impl : ( 'knowledgesGiven' ) ; public final void rule__Path__Group_15__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3826:1: ( ( 'knowledgesGiven' ) ) // InternalGames.g:3827:1: ( 'knowledgesGiven' ) { // InternalGames.g:3827:1: ( 'knowledgesGiven' ) // InternalGames.g:3828:2: 'knowledgesGiven' { before(grammarAccess.getPathAccess().getKnowledgesGivenKeyword_15_0()); match(input,42,FOLLOW_2); after(grammarAccess.getPathAccess().getKnowledgesGivenKeyword_15_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_15__0__Impl" // $ANTLR start "rule__Path__Group_15__1" // InternalGames.g:3837:1: rule__Path__Group_15__1 : rule__Path__Group_15__1__Impl ; public final void rule__Path__Group_15__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3841:1: ( rule__Path__Group_15__1__Impl ) // InternalGames.g:3842:2: rule__Path__Group_15__1__Impl { pushFollow(FOLLOW_2); rule__Path__Group_15__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_15__1" // $ANTLR start "rule__Path__Group_15__1__Impl" // InternalGames.g:3848:1: rule__Path__Group_15__1__Impl : ( ( rule__Path__KnowledgeGivenAssignment_15_1 )* ) ; public final void rule__Path__Group_15__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3852:1: ( ( ( rule__Path__KnowledgeGivenAssignment_15_1 )* ) ) // InternalGames.g:3853:1: ( ( rule__Path__KnowledgeGivenAssignment_15_1 )* ) { // InternalGames.g:3853:1: ( ( rule__Path__KnowledgeGivenAssignment_15_1 )* ) // InternalGames.g:3854:2: ( rule__Path__KnowledgeGivenAssignment_15_1 )* { before(grammarAccess.getPathAccess().getKnowledgeGivenAssignment_15_1()); // InternalGames.g:3855:2: ( rule__Path__KnowledgeGivenAssignment_15_1 )* loop32: do { int alt32=2; int LA32_0 = input.LA(1); if ( (LA32_0==RULE_ID) ) { alt32=1; } switch (alt32) { case 1 : // InternalGames.g:3855:3: rule__Path__KnowledgeGivenAssignment_15_1 { pushFollow(FOLLOW_18); rule__Path__KnowledgeGivenAssignment_15_1(); state._fsp--; } break; default : break loop32; } } while (true); after(grammarAccess.getPathAccess().getKnowledgeGivenAssignment_15_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_15__1__Impl" // $ANTLR start "rule__Path__Group_16__0" // InternalGames.g:3864:1: rule__Path__Group_16__0 : rule__Path__Group_16__0__Impl rule__Path__Group_16__1 ; public final void rule__Path__Group_16__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3868:1: ( rule__Path__Group_16__0__Impl rule__Path__Group_16__1 ) // InternalGames.g:3869:2: rule__Path__Group_16__0__Impl rule__Path__Group_16__1 { pushFollow(FOLLOW_3); rule__Path__Group_16__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group_16__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_16__0" // $ANTLR start "rule__Path__Group_16__0__Impl" // InternalGames.g:3876:1: rule__Path__Group_16__0__Impl : ( 'itemsGiven' ) ; public final void rule__Path__Group_16__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3880:1: ( ( 'itemsGiven' ) ) // InternalGames.g:3881:1: ( 'itemsGiven' ) { // InternalGames.g:3881:1: ( 'itemsGiven' ) // InternalGames.g:3882:2: 'itemsGiven' { before(grammarAccess.getPathAccess().getItemsGivenKeyword_16_0()); match(input,43,FOLLOW_2); after(grammarAccess.getPathAccess().getItemsGivenKeyword_16_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_16__0__Impl" // $ANTLR start "rule__Path__Group_16__1" // InternalGames.g:3891:1: rule__Path__Group_16__1 : rule__Path__Group_16__1__Impl ; public final void rule__Path__Group_16__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3895:1: ( rule__Path__Group_16__1__Impl ) // InternalGames.g:3896:2: rule__Path__Group_16__1__Impl { pushFollow(FOLLOW_2); rule__Path__Group_16__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_16__1" // $ANTLR start "rule__Path__Group_16__1__Impl" // InternalGames.g:3902:1: rule__Path__Group_16__1__Impl : ( ( rule__Path__ItemsGivenAssignment_16_1 )* ) ; public final void rule__Path__Group_16__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3906:1: ( ( ( rule__Path__ItemsGivenAssignment_16_1 )* ) ) // InternalGames.g:3907:1: ( ( rule__Path__ItemsGivenAssignment_16_1 )* ) { // InternalGames.g:3907:1: ( ( rule__Path__ItemsGivenAssignment_16_1 )* ) // InternalGames.g:3908:2: ( rule__Path__ItemsGivenAssignment_16_1 )* { before(grammarAccess.getPathAccess().getItemsGivenAssignment_16_1()); // InternalGames.g:3909:2: ( rule__Path__ItemsGivenAssignment_16_1 )* loop33: do { int alt33=2; int LA33_0 = input.LA(1); if ( (LA33_0==RULE_ID) ) { alt33=1; } switch (alt33) { case 1 : // InternalGames.g:3909:3: rule__Path__ItemsGivenAssignment_16_1 { pushFollow(FOLLOW_18); rule__Path__ItemsGivenAssignment_16_1(); state._fsp--; } break; default : break loop33; } } while (true); after(grammarAccess.getPathAccess().getItemsGivenAssignment_16_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_16__1__Impl" // $ANTLR start "rule__Path__Group_17__0" // InternalGames.g:3918:1: rule__Path__Group_17__0 : rule__Path__Group_17__0__Impl rule__Path__Group_17__1 ; public final void rule__Path__Group_17__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3922:1: ( rule__Path__Group_17__0__Impl rule__Path__Group_17__1 ) // InternalGames.g:3923:2: rule__Path__Group_17__0__Impl rule__Path__Group_17__1 { pushFollow(FOLLOW_3); rule__Path__Group_17__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Path__Group_17__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_17__0" // $ANTLR start "rule__Path__Group_17__0__Impl" // InternalGames.g:3930:1: rule__Path__Group_17__0__Impl : ( 'itemsConsumed' ) ; public final void rule__Path__Group_17__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3934:1: ( ( 'itemsConsumed' ) ) // InternalGames.g:3935:1: ( 'itemsConsumed' ) { // InternalGames.g:3935:1: ( 'itemsConsumed' ) // InternalGames.g:3936:2: 'itemsConsumed' { before(grammarAccess.getPathAccess().getItemsConsumedKeyword_17_0()); match(input,44,FOLLOW_2); after(grammarAccess.getPathAccess().getItemsConsumedKeyword_17_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_17__0__Impl" // $ANTLR start "rule__Path__Group_17__1" // InternalGames.g:3945:1: rule__Path__Group_17__1 : rule__Path__Group_17__1__Impl ; public final void rule__Path__Group_17__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3949:1: ( rule__Path__Group_17__1__Impl ) // InternalGames.g:3950:2: rule__Path__Group_17__1__Impl { pushFollow(FOLLOW_2); rule__Path__Group_17__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_17__1" // $ANTLR start "rule__Path__Group_17__1__Impl" // InternalGames.g:3956:1: rule__Path__Group_17__1__Impl : ( ( rule__Path__ItemsConsumedAssignment_17_1 )* ) ; public final void rule__Path__Group_17__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3960:1: ( ( ( rule__Path__ItemsConsumedAssignment_17_1 )* ) ) // InternalGames.g:3961:1: ( ( rule__Path__ItemsConsumedAssignment_17_1 )* ) { // InternalGames.g:3961:1: ( ( rule__Path__ItemsConsumedAssignment_17_1 )* ) // InternalGames.g:3962:2: ( rule__Path__ItemsConsumedAssignment_17_1 )* { before(grammarAccess.getPathAccess().getItemsConsumedAssignment_17_1()); // InternalGames.g:3963:2: ( rule__Path__ItemsConsumedAssignment_17_1 )* loop34: do { int alt34=2; int LA34_0 = input.LA(1); if ( (LA34_0==RULE_ID) ) { alt34=1; } switch (alt34) { case 1 : // InternalGames.g:3963:3: rule__Path__ItemsConsumedAssignment_17_1 { pushFollow(FOLLOW_18); rule__Path__ItemsConsumedAssignment_17_1(); state._fsp--; } break; default : break loop34; } } while (true); after(grammarAccess.getPathAccess().getItemsConsumedAssignment_17_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__Group_17__1__Impl" // $ANTLR start "rule__Item__Group__0" // InternalGames.g:3972:1: rule__Item__Group__0 : rule__Item__Group__0__Impl rule__Item__Group__1 ; public final void rule__Item__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3976:1: ( rule__Item__Group__0__Impl rule__Item__Group__1 ) // InternalGames.g:3977:2: rule__Item__Group__0__Impl rule__Item__Group__1 { pushFollow(FOLLOW_3); rule__Item__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__0" // $ANTLR start "rule__Item__Group__0__Impl" // InternalGames.g:3984:1: rule__Item__Group__0__Impl : ( 'item' ) ; public final void rule__Item__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:3988:1: ( ( 'item' ) ) // InternalGames.g:3989:1: ( 'item' ) { // InternalGames.g:3989:1: ( 'item' ) // InternalGames.g:3990:2: 'item' { before(grammarAccess.getItemAccess().getItemKeyword_0()); match(input,45,FOLLOW_2); after(grammarAccess.getItemAccess().getItemKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__0__Impl" // $ANTLR start "rule__Item__Group__1" // InternalGames.g:3999:1: rule__Item__Group__1 : rule__Item__Group__1__Impl rule__Item__Group__2 ; public final void rule__Item__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4003:1: ( rule__Item__Group__1__Impl rule__Item__Group__2 ) // InternalGames.g:4004:2: rule__Item__Group__1__Impl rule__Item__Group__2 { pushFollow(FOLLOW_23); rule__Item__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__1" // $ANTLR start "rule__Item__Group__1__Impl" // InternalGames.g:4011:1: rule__Item__Group__1__Impl : ( ( rule__Item__NameAssignment_1 ) ) ; public final void rule__Item__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4015:1: ( ( ( rule__Item__NameAssignment_1 ) ) ) // InternalGames.g:4016:1: ( ( rule__Item__NameAssignment_1 ) ) { // InternalGames.g:4016:1: ( ( rule__Item__NameAssignment_1 ) ) // InternalGames.g:4017:2: ( rule__Item__NameAssignment_1 ) { before(grammarAccess.getItemAccess().getNameAssignment_1()); // InternalGames.g:4018:2: ( rule__Item__NameAssignment_1 ) // InternalGames.g:4018:3: rule__Item__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Item__NameAssignment_1(); state._fsp--; } after(grammarAccess.getItemAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__1__Impl" // $ANTLR start "rule__Item__Group__2" // InternalGames.g:4026:1: rule__Item__Group__2 : rule__Item__Group__2__Impl rule__Item__Group__3 ; public final void rule__Item__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4030:1: ( rule__Item__Group__2__Impl rule__Item__Group__3 ) // InternalGames.g:4031:2: rule__Item__Group__2__Impl rule__Item__Group__3 { pushFollow(FOLLOW_38); rule__Item__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__2" // $ANTLR start "rule__Item__Group__2__Impl" // InternalGames.g:4038:1: rule__Item__Group__2__Impl : ( '{' ) ; public final void rule__Item__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4042:1: ( ( '{' ) ) // InternalGames.g:4043:1: ( '{' ) { // InternalGames.g:4043:1: ( '{' ) // InternalGames.g:4044:2: '{' { before(grammarAccess.getItemAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getItemAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__2__Impl" // $ANTLR start "rule__Item__Group__3" // InternalGames.g:4053:1: rule__Item__Group__3 : rule__Item__Group__3__Impl rule__Item__Group__4 ; public final void rule__Item__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4057:1: ( rule__Item__Group__3__Impl rule__Item__Group__4 ) // InternalGames.g:4058:2: rule__Item__Group__3__Impl rule__Item__Group__4 { pushFollow(FOLLOW_22); rule__Item__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__3" // $ANTLR start "rule__Item__Group__3__Impl" // InternalGames.g:4065:1: rule__Item__Group__3__Impl : ( 'size' ) ; public final void rule__Item__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4069:1: ( ( 'size' ) ) // InternalGames.g:4070:1: ( 'size' ) { // InternalGames.g:4070:1: ( 'size' ) // InternalGames.g:4071:2: 'size' { before(grammarAccess.getItemAccess().getSizeKeyword_3()); match(input,46,FOLLOW_2); after(grammarAccess.getItemAccess().getSizeKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__3__Impl" // $ANTLR start "rule__Item__Group__4" // InternalGames.g:4080:1: rule__Item__Group__4 : rule__Item__Group__4__Impl rule__Item__Group__5 ; public final void rule__Item__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4084:1: ( rule__Item__Group__4__Impl rule__Item__Group__5 ) // InternalGames.g:4085:2: rule__Item__Group__4__Impl rule__Item__Group__5 { pushFollow(FOLLOW_27); rule__Item__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__4" // $ANTLR start "rule__Item__Group__4__Impl" // InternalGames.g:4092:1: rule__Item__Group__4__Impl : ( ( rule__Item__SizeAssignment_4 ) ) ; public final void rule__Item__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4096:1: ( ( ( rule__Item__SizeAssignment_4 ) ) ) // InternalGames.g:4097:1: ( ( rule__Item__SizeAssignment_4 ) ) { // InternalGames.g:4097:1: ( ( rule__Item__SizeAssignment_4 ) ) // InternalGames.g:4098:2: ( rule__Item__SizeAssignment_4 ) { before(grammarAccess.getItemAccess().getSizeAssignment_4()); // InternalGames.g:4099:2: ( rule__Item__SizeAssignment_4 ) // InternalGames.g:4099:3: rule__Item__SizeAssignment_4 { pushFollow(FOLLOW_2); rule__Item__SizeAssignment_4(); state._fsp--; } after(grammarAccess.getItemAccess().getSizeAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__4__Impl" // $ANTLR start "rule__Item__Group__5" // InternalGames.g:4107:1: rule__Item__Group__5 : rule__Item__Group__5__Impl rule__Item__Group__6 ; public final void rule__Item__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4111:1: ( rule__Item__Group__5__Impl rule__Item__Group__6 ) // InternalGames.g:4112:2: rule__Item__Group__5__Impl rule__Item__Group__6 { pushFollow(FOLLOW_26); rule__Item__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__5" // $ANTLR start "rule__Item__Group__5__Impl" // InternalGames.g:4119:1: rule__Item__Group__5__Impl : ( 'description' ) ; public final void rule__Item__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4123:1: ( ( 'description' ) ) // InternalGames.g:4124:1: ( 'description' ) { // InternalGames.g:4124:1: ( 'description' ) // InternalGames.g:4125:2: 'description' { before(grammarAccess.getItemAccess().getDescriptionKeyword_5()); match(input,34,FOLLOW_2); after(grammarAccess.getItemAccess().getDescriptionKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__5__Impl" // $ANTLR start "rule__Item__Group__6" // InternalGames.g:4134:1: rule__Item__Group__6 : rule__Item__Group__6__Impl rule__Item__Group__7 ; public final void rule__Item__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4138:1: ( rule__Item__Group__6__Impl rule__Item__Group__7 ) // InternalGames.g:4139:2: rule__Item__Group__6__Impl rule__Item__Group__7 { pushFollow(FOLLOW_28); rule__Item__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__6" // $ANTLR start "rule__Item__Group__6__Impl" // InternalGames.g:4146:1: rule__Item__Group__6__Impl : ( ( rule__Item__DescriptionAssignment_6 ) ) ; public final void rule__Item__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4150:1: ( ( ( rule__Item__DescriptionAssignment_6 ) ) ) // InternalGames.g:4151:1: ( ( rule__Item__DescriptionAssignment_6 ) ) { // InternalGames.g:4151:1: ( ( rule__Item__DescriptionAssignment_6 ) ) // InternalGames.g:4152:2: ( rule__Item__DescriptionAssignment_6 ) { before(grammarAccess.getItemAccess().getDescriptionAssignment_6()); // InternalGames.g:4153:2: ( rule__Item__DescriptionAssignment_6 ) // InternalGames.g:4153:3: rule__Item__DescriptionAssignment_6 { pushFollow(FOLLOW_2); rule__Item__DescriptionAssignment_6(); state._fsp--; } after(grammarAccess.getItemAccess().getDescriptionAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__6__Impl" // $ANTLR start "rule__Item__Group__7" // InternalGames.g:4161:1: rule__Item__Group__7 : rule__Item__Group__7__Impl rule__Item__Group__8 ; public final void rule__Item__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4165:1: ( rule__Item__Group__7__Impl rule__Item__Group__8 ) // InternalGames.g:4166:2: rule__Item__Group__7__Impl rule__Item__Group__8 { pushFollow(FOLLOW_22); rule__Item__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__7" // $ANTLR start "rule__Item__Group__7__Impl" // InternalGames.g:4173:1: rule__Item__Group__7__Impl : ( 'visible' ) ; public final void rule__Item__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4177:1: ( ( 'visible' ) ) // InternalGames.g:4178:1: ( 'visible' ) { // InternalGames.g:4178:1: ( 'visible' ) // InternalGames.g:4179:2: 'visible' { before(grammarAccess.getItemAccess().getVisibleKeyword_7()); match(input,35,FOLLOW_2); after(grammarAccess.getItemAccess().getVisibleKeyword_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__7__Impl" // $ANTLR start "rule__Item__Group__8" // InternalGames.g:4188:1: rule__Item__Group__8 : rule__Item__Group__8__Impl rule__Item__Group__9 ; public final void rule__Item__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4192:1: ( rule__Item__Group__8__Impl rule__Item__Group__9 ) // InternalGames.g:4193:2: rule__Item__Group__8__Impl rule__Item__Group__9 { pushFollow(FOLLOW_29); rule__Item__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__8" // $ANTLR start "rule__Item__Group__8__Impl" // InternalGames.g:4200:1: rule__Item__Group__8__Impl : ( ( rule__Item__VisibleAssignment_8 ) ) ; public final void rule__Item__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4204:1: ( ( ( rule__Item__VisibleAssignment_8 ) ) ) // InternalGames.g:4205:1: ( ( rule__Item__VisibleAssignment_8 ) ) { // InternalGames.g:4205:1: ( ( rule__Item__VisibleAssignment_8 ) ) // InternalGames.g:4206:2: ( rule__Item__VisibleAssignment_8 ) { before(grammarAccess.getItemAccess().getVisibleAssignment_8()); // InternalGames.g:4207:2: ( rule__Item__VisibleAssignment_8 ) // InternalGames.g:4207:3: rule__Item__VisibleAssignment_8 { pushFollow(FOLLOW_2); rule__Item__VisibleAssignment_8(); state._fsp--; } after(grammarAccess.getItemAccess().getVisibleAssignment_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__8__Impl" // $ANTLR start "rule__Item__Group__9" // InternalGames.g:4215:1: rule__Item__Group__9 : rule__Item__Group__9__Impl rule__Item__Group__10 ; public final void rule__Item__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4219:1: ( rule__Item__Group__9__Impl rule__Item__Group__10 ) // InternalGames.g:4220:2: rule__Item__Group__9__Impl rule__Item__Group__10 { pushFollow(FOLLOW_29); rule__Item__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__9" // $ANTLR start "rule__Item__Group__9__Impl" // InternalGames.g:4227:1: rule__Item__Group__9__Impl : ( ( rule__Item__Group_9__0 )? ) ; public final void rule__Item__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4231:1: ( ( ( rule__Item__Group_9__0 )? ) ) // InternalGames.g:4232:1: ( ( rule__Item__Group_9__0 )? ) { // InternalGames.g:4232:1: ( ( rule__Item__Group_9__0 )? ) // InternalGames.g:4233:2: ( rule__Item__Group_9__0 )? { before(grammarAccess.getItemAccess().getGroup_9()); // InternalGames.g:4234:2: ( rule__Item__Group_9__0 )? int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==38) ) { alt35=1; } switch (alt35) { case 1 : // InternalGames.g:4234:3: rule__Item__Group_9__0 { pushFollow(FOLLOW_2); rule__Item__Group_9__0(); state._fsp--; } break; } after(grammarAccess.getItemAccess().getGroup_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__9__Impl" // $ANTLR start "rule__Item__Group__10" // InternalGames.g:4242:1: rule__Item__Group__10 : rule__Item__Group__10__Impl rule__Item__Group__11 ; public final void rule__Item__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4246:1: ( rule__Item__Group__10__Impl rule__Item__Group__11 ) // InternalGames.g:4247:2: rule__Item__Group__10__Impl rule__Item__Group__11 { pushFollow(FOLLOW_22); rule__Item__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__10" // $ANTLR start "rule__Item__Group__10__Impl" // InternalGames.g:4254:1: rule__Item__Group__10__Impl : ( 'active' ) ; public final void rule__Item__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4258:1: ( ( 'active' ) ) // InternalGames.g:4259:1: ( 'active' ) { // InternalGames.g:4259:1: ( 'active' ) // InternalGames.g:4260:2: 'active' { before(grammarAccess.getItemAccess().getActiveKeyword_10()); match(input,36,FOLLOW_2); after(grammarAccess.getItemAccess().getActiveKeyword_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__10__Impl" // $ANTLR start "rule__Item__Group__11" // InternalGames.g:4269:1: rule__Item__Group__11 : rule__Item__Group__11__Impl rule__Item__Group__12 ; public final void rule__Item__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4273:1: ( rule__Item__Group__11__Impl rule__Item__Group__12 ) // InternalGames.g:4274:2: rule__Item__Group__11__Impl rule__Item__Group__12 { pushFollow(FOLLOW_39); rule__Item__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__11" // $ANTLR start "rule__Item__Group__11__Impl" // InternalGames.g:4281:1: rule__Item__Group__11__Impl : ( ( rule__Item__ActiveAssignment_11 ) ) ; public final void rule__Item__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4285:1: ( ( ( rule__Item__ActiveAssignment_11 ) ) ) // InternalGames.g:4286:1: ( ( rule__Item__ActiveAssignment_11 ) ) { // InternalGames.g:4286:1: ( ( rule__Item__ActiveAssignment_11 ) ) // InternalGames.g:4287:2: ( rule__Item__ActiveAssignment_11 ) { before(grammarAccess.getItemAccess().getActiveAssignment_11()); // InternalGames.g:4288:2: ( rule__Item__ActiveAssignment_11 ) // InternalGames.g:4288:3: rule__Item__ActiveAssignment_11 { pushFollow(FOLLOW_2); rule__Item__ActiveAssignment_11(); state._fsp--; } after(grammarAccess.getItemAccess().getActiveAssignment_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__11__Impl" // $ANTLR start "rule__Item__Group__12" // InternalGames.g:4296:1: rule__Item__Group__12 : rule__Item__Group__12__Impl rule__Item__Group__13 ; public final void rule__Item__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4300:1: ( rule__Item__Group__12__Impl rule__Item__Group__13 ) // InternalGames.g:4301:2: rule__Item__Group__12__Impl rule__Item__Group__13 { pushFollow(FOLLOW_40); rule__Item__Group__12__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__13(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__12" // $ANTLR start "rule__Item__Group__12__Impl" // InternalGames.g:4308:1: rule__Item__Group__12__Impl : ( 'conditionsActive' ) ; public final void rule__Item__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4312:1: ( ( 'conditionsActive' ) ) // InternalGames.g:4313:1: ( 'conditionsActive' ) { // InternalGames.g:4313:1: ( 'conditionsActive' ) // InternalGames.g:4314:2: 'conditionsActive' { before(grammarAccess.getItemAccess().getConditionsActiveKeyword_12()); match(input,39,FOLLOW_2); after(grammarAccess.getItemAccess().getConditionsActiveKeyword_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__12__Impl" // $ANTLR start "rule__Item__Group__13" // InternalGames.g:4323:1: rule__Item__Group__13 : rule__Item__Group__13__Impl rule__Item__Group__14 ; public final void rule__Item__Group__13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4327:1: ( rule__Item__Group__13__Impl rule__Item__Group__14 ) // InternalGames.g:4328:2: rule__Item__Group__13__Impl rule__Item__Group__14 { pushFollow(FOLLOW_40); rule__Item__Group__13__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__14(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__13" // $ANTLR start "rule__Item__Group__13__Impl" // InternalGames.g:4335:1: rule__Item__Group__13__Impl : ( ( rule__Item__ConditionsActiveAssignment_13 )* ) ; public final void rule__Item__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4339:1: ( ( ( rule__Item__ConditionsActiveAssignment_13 )* ) ) // InternalGames.g:4340:1: ( ( rule__Item__ConditionsActiveAssignment_13 )* ) { // InternalGames.g:4340:1: ( ( rule__Item__ConditionsActiveAssignment_13 )* ) // InternalGames.g:4341:2: ( rule__Item__ConditionsActiveAssignment_13 )* { before(grammarAccess.getItemAccess().getConditionsActiveAssignment_13()); // InternalGames.g:4342:2: ( rule__Item__ConditionsActiveAssignment_13 )* loop36: do { int alt36=2; int LA36_0 = input.LA(1); if ( (LA36_0==59) ) { alt36=1; } switch (alt36) { case 1 : // InternalGames.g:4342:3: rule__Item__ConditionsActiveAssignment_13 { pushFollow(FOLLOW_33); rule__Item__ConditionsActiveAssignment_13(); state._fsp--; } break; default : break loop36; } } while (true); after(grammarAccess.getItemAccess().getConditionsActiveAssignment_13()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__13__Impl" // $ANTLR start "rule__Item__Group__14" // InternalGames.g:4350:1: rule__Item__Group__14 : rule__Item__Group__14__Impl rule__Item__Group__15 ; public final void rule__Item__Group__14() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4354:1: ( rule__Item__Group__14__Impl rule__Item__Group__15 ) // InternalGames.g:4355:2: rule__Item__Group__14__Impl rule__Item__Group__15 { pushFollow(FOLLOW_22); rule__Item__Group__14__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__15(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__14" // $ANTLR start "rule__Item__Group__14__Impl" // InternalGames.g:4362:1: rule__Item__Group__14__Impl : ( 'canPutDown' ) ; public final void rule__Item__Group__14__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4366:1: ( ( 'canPutDown' ) ) // InternalGames.g:4367:1: ( 'canPutDown' ) { // InternalGames.g:4367:1: ( 'canPutDown' ) // InternalGames.g:4368:2: 'canPutDown' { before(grammarAccess.getItemAccess().getCanPutDownKeyword_14()); match(input,47,FOLLOW_2); after(grammarAccess.getItemAccess().getCanPutDownKeyword_14()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__14__Impl" // $ANTLR start "rule__Item__Group__15" // InternalGames.g:4377:1: rule__Item__Group__15 : rule__Item__Group__15__Impl rule__Item__Group__16 ; public final void rule__Item__Group__15() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4381:1: ( rule__Item__Group__15__Impl rule__Item__Group__16 ) // InternalGames.g:4382:2: rule__Item__Group__15__Impl rule__Item__Group__16 { pushFollow(FOLLOW_41); rule__Item__Group__15__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__16(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__15" // $ANTLR start "rule__Item__Group__15__Impl" // InternalGames.g:4389:1: rule__Item__Group__15__Impl : ( ( rule__Item__CanPutDownAssignment_15 ) ) ; public final void rule__Item__Group__15__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4393:1: ( ( ( rule__Item__CanPutDownAssignment_15 ) ) ) // InternalGames.g:4394:1: ( ( rule__Item__CanPutDownAssignment_15 ) ) { // InternalGames.g:4394:1: ( ( rule__Item__CanPutDownAssignment_15 ) ) // InternalGames.g:4395:2: ( rule__Item__CanPutDownAssignment_15 ) { before(grammarAccess.getItemAccess().getCanPutDownAssignment_15()); // InternalGames.g:4396:2: ( rule__Item__CanPutDownAssignment_15 ) // InternalGames.g:4396:3: rule__Item__CanPutDownAssignment_15 { pushFollow(FOLLOW_2); rule__Item__CanPutDownAssignment_15(); state._fsp--; } after(grammarAccess.getItemAccess().getCanPutDownAssignment_15()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__15__Impl" // $ANTLR start "rule__Item__Group__16" // InternalGames.g:4404:1: rule__Item__Group__16 : rule__Item__Group__16__Impl rule__Item__Group__17 ; public final void rule__Item__Group__16() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4408:1: ( rule__Item__Group__16__Impl rule__Item__Group__17 ) // InternalGames.g:4409:2: rule__Item__Group__16__Impl rule__Item__Group__17 { pushFollow(FOLLOW_41); rule__Item__Group__16__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__17(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__16" // $ANTLR start "rule__Item__Group__16__Impl" // InternalGames.g:4416:1: rule__Item__Group__16__Impl : ( ( rule__Item__Group_16__0 )? ) ; public final void rule__Item__Group__16__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4420:1: ( ( ( rule__Item__Group_16__0 )? ) ) // InternalGames.g:4421:1: ( ( rule__Item__Group_16__0 )? ) { // InternalGames.g:4421:1: ( ( rule__Item__Group_16__0 )? ) // InternalGames.g:4422:2: ( rule__Item__Group_16__0 )? { before(grammarAccess.getItemAccess().getGroup_16()); // InternalGames.g:4423:2: ( rule__Item__Group_16__0 )? int alt37=2; int LA37_0 = input.LA(1); if ( (LA37_0==48) ) { alt37=1; } switch (alt37) { case 1 : // InternalGames.g:4423:3: rule__Item__Group_16__0 { pushFollow(FOLLOW_2); rule__Item__Group_16__0(); state._fsp--; } break; } after(grammarAccess.getItemAccess().getGroup_16()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__16__Impl" // $ANTLR start "rule__Item__Group__17" // InternalGames.g:4431:1: rule__Item__Group__17 : rule__Item__Group__17__Impl rule__Item__Group__18 ; public final void rule__Item__Group__17() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4435:1: ( rule__Item__Group__17__Impl rule__Item__Group__18 ) // InternalGames.g:4436:2: rule__Item__Group__17__Impl rule__Item__Group__18 { pushFollow(FOLLOW_41); rule__Item__Group__17__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__18(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__17" // $ANTLR start "rule__Item__Group__17__Impl" // InternalGames.g:4443:1: rule__Item__Group__17__Impl : ( ( rule__Item__Group_17__0 )? ) ; public final void rule__Item__Group__17__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4447:1: ( ( ( rule__Item__Group_17__0 )? ) ) // InternalGames.g:4448:1: ( ( rule__Item__Group_17__0 )? ) { // InternalGames.g:4448:1: ( ( rule__Item__Group_17__0 )? ) // InternalGames.g:4449:2: ( rule__Item__Group_17__0 )? { before(grammarAccess.getItemAccess().getGroup_17()); // InternalGames.g:4450:2: ( rule__Item__Group_17__0 )? int alt38=2; int LA38_0 = input.LA(1); if ( (LA38_0==49) ) { alt38=1; } switch (alt38) { case 1 : // InternalGames.g:4450:3: rule__Item__Group_17__0 { pushFollow(FOLLOW_2); rule__Item__Group_17__0(); state._fsp--; } break; } after(grammarAccess.getItemAccess().getGroup_17()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__17__Impl" // $ANTLR start "rule__Item__Group__18" // InternalGames.g:4458:1: rule__Item__Group__18 : rule__Item__Group__18__Impl rule__Item__Group__19 ; public final void rule__Item__Group__18() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4462:1: ( rule__Item__Group__18__Impl rule__Item__Group__19 ) // InternalGames.g:4463:2: rule__Item__Group__18__Impl rule__Item__Group__19 { pushFollow(FOLLOW_41); rule__Item__Group__18__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group__19(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__18" // $ANTLR start "rule__Item__Group__18__Impl" // InternalGames.g:4470:1: rule__Item__Group__18__Impl : ( ( rule__Item__Group_18__0 )? ) ; public final void rule__Item__Group__18__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4474:1: ( ( ( rule__Item__Group_18__0 )? ) ) // InternalGames.g:4475:1: ( ( rule__Item__Group_18__0 )? ) { // InternalGames.g:4475:1: ( ( rule__Item__Group_18__0 )? ) // InternalGames.g:4476:2: ( rule__Item__Group_18__0 )? { before(grammarAccess.getItemAccess().getGroup_18()); // InternalGames.g:4477:2: ( rule__Item__Group_18__0 )? int alt39=2; int LA39_0 = input.LA(1); if ( (LA39_0==50) ) { alt39=1; } switch (alt39) { case 1 : // InternalGames.g:4477:3: rule__Item__Group_18__0 { pushFollow(FOLLOW_2); rule__Item__Group_18__0(); state._fsp--; } break; } after(grammarAccess.getItemAccess().getGroup_18()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__18__Impl" // $ANTLR start "rule__Item__Group__19" // InternalGames.g:4485:1: rule__Item__Group__19 : rule__Item__Group__19__Impl ; public final void rule__Item__Group__19() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4489:1: ( rule__Item__Group__19__Impl ) // InternalGames.g:4490:2: rule__Item__Group__19__Impl { pushFollow(FOLLOW_2); rule__Item__Group__19__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__19" // $ANTLR start "rule__Item__Group__19__Impl" // InternalGames.g:4496:1: rule__Item__Group__19__Impl : ( '}' ) ; public final void rule__Item__Group__19__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4500:1: ( ( '}' ) ) // InternalGames.g:4501:1: ( '}' ) { // InternalGames.g:4501:1: ( '}' ) // InternalGames.g:4502:2: '}' { before(grammarAccess.getItemAccess().getRightCurlyBracketKeyword_19()); match(input,32,FOLLOW_2); after(grammarAccess.getItemAccess().getRightCurlyBracketKeyword_19()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group__19__Impl" // $ANTLR start "rule__Item__Group_9__0" // InternalGames.g:4512:1: rule__Item__Group_9__0 : rule__Item__Group_9__0__Impl rule__Item__Group_9__1 ; public final void rule__Item__Group_9__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4516:1: ( rule__Item__Group_9__0__Impl rule__Item__Group_9__1 ) // InternalGames.g:4517:2: rule__Item__Group_9__0__Impl rule__Item__Group_9__1 { pushFollow(FOLLOW_32); rule__Item__Group_9__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group_9__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_9__0" // $ANTLR start "rule__Item__Group_9__0__Impl" // InternalGames.g:4524:1: rule__Item__Group_9__0__Impl : ( 'conditionsVisible' ) ; public final void rule__Item__Group_9__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4528:1: ( ( 'conditionsVisible' ) ) // InternalGames.g:4529:1: ( 'conditionsVisible' ) { // InternalGames.g:4529:1: ( 'conditionsVisible' ) // InternalGames.g:4530:2: 'conditionsVisible' { before(grammarAccess.getItemAccess().getConditionsVisibleKeyword_9_0()); match(input,38,FOLLOW_2); after(grammarAccess.getItemAccess().getConditionsVisibleKeyword_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_9__0__Impl" // $ANTLR start "rule__Item__Group_9__1" // InternalGames.g:4539:1: rule__Item__Group_9__1 : rule__Item__Group_9__1__Impl ; public final void rule__Item__Group_9__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4543:1: ( rule__Item__Group_9__1__Impl ) // InternalGames.g:4544:2: rule__Item__Group_9__1__Impl { pushFollow(FOLLOW_2); rule__Item__Group_9__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_9__1" // $ANTLR start "rule__Item__Group_9__1__Impl" // InternalGames.g:4550:1: rule__Item__Group_9__1__Impl : ( ( rule__Item__ConditionsVisibleAssignment_9_1 )* ) ; public final void rule__Item__Group_9__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4554:1: ( ( ( rule__Item__ConditionsVisibleAssignment_9_1 )* ) ) // InternalGames.g:4555:1: ( ( rule__Item__ConditionsVisibleAssignment_9_1 )* ) { // InternalGames.g:4555:1: ( ( rule__Item__ConditionsVisibleAssignment_9_1 )* ) // InternalGames.g:4556:2: ( rule__Item__ConditionsVisibleAssignment_9_1 )* { before(grammarAccess.getItemAccess().getConditionsVisibleAssignment_9_1()); // InternalGames.g:4557:2: ( rule__Item__ConditionsVisibleAssignment_9_1 )* loop40: do { int alt40=2; int LA40_0 = input.LA(1); if ( (LA40_0==59) ) { alt40=1; } switch (alt40) { case 1 : // InternalGames.g:4557:3: rule__Item__ConditionsVisibleAssignment_9_1 { pushFollow(FOLLOW_33); rule__Item__ConditionsVisibleAssignment_9_1(); state._fsp--; } break; default : break loop40; } } while (true); after(grammarAccess.getItemAccess().getConditionsVisibleAssignment_9_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_9__1__Impl" // $ANTLR start "rule__Item__Group_16__0" // InternalGames.g:4566:1: rule__Item__Group_16__0 : rule__Item__Group_16__0__Impl rule__Item__Group_16__1 ; public final void rule__Item__Group_16__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4570:1: ( rule__Item__Group_16__0__Impl rule__Item__Group_16__1 ) // InternalGames.g:4571:2: rule__Item__Group_16__0__Impl rule__Item__Group_16__1 { pushFollow(FOLLOW_32); rule__Item__Group_16__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group_16__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_16__0" // $ANTLR start "rule__Item__Group_16__0__Impl" // InternalGames.g:4578:1: rule__Item__Group_16__0__Impl : ( 'conditionsPutDown' ) ; public final void rule__Item__Group_16__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4582:1: ( ( 'conditionsPutDown' ) ) // InternalGames.g:4583:1: ( 'conditionsPutDown' ) { // InternalGames.g:4583:1: ( 'conditionsPutDown' ) // InternalGames.g:4584:2: 'conditionsPutDown' { before(grammarAccess.getItemAccess().getConditionsPutDownKeyword_16_0()); match(input,48,FOLLOW_2); after(grammarAccess.getItemAccess().getConditionsPutDownKeyword_16_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_16__0__Impl" // $ANTLR start "rule__Item__Group_16__1" // InternalGames.g:4593:1: rule__Item__Group_16__1 : rule__Item__Group_16__1__Impl ; public final void rule__Item__Group_16__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4597:1: ( rule__Item__Group_16__1__Impl ) // InternalGames.g:4598:2: rule__Item__Group_16__1__Impl { pushFollow(FOLLOW_2); rule__Item__Group_16__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_16__1" // $ANTLR start "rule__Item__Group_16__1__Impl" // InternalGames.g:4604:1: rule__Item__Group_16__1__Impl : ( ( rule__Item__ConditionsPutDownAssignment_16_1 )* ) ; public final void rule__Item__Group_16__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4608:1: ( ( ( rule__Item__ConditionsPutDownAssignment_16_1 )* ) ) // InternalGames.g:4609:1: ( ( rule__Item__ConditionsPutDownAssignment_16_1 )* ) { // InternalGames.g:4609:1: ( ( rule__Item__ConditionsPutDownAssignment_16_1 )* ) // InternalGames.g:4610:2: ( rule__Item__ConditionsPutDownAssignment_16_1 )* { before(grammarAccess.getItemAccess().getConditionsPutDownAssignment_16_1()); // InternalGames.g:4611:2: ( rule__Item__ConditionsPutDownAssignment_16_1 )* loop41: do { int alt41=2; int LA41_0 = input.LA(1); if ( (LA41_0==59) ) { alt41=1; } switch (alt41) { case 1 : // InternalGames.g:4611:3: rule__Item__ConditionsPutDownAssignment_16_1 { pushFollow(FOLLOW_33); rule__Item__ConditionsPutDownAssignment_16_1(); state._fsp--; } break; default : break loop41; } } while (true); after(grammarAccess.getItemAccess().getConditionsPutDownAssignment_16_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_16__1__Impl" // $ANTLR start "rule__Item__Group_17__0" // InternalGames.g:4620:1: rule__Item__Group_17__0 : rule__Item__Group_17__0__Impl rule__Item__Group_17__1 ; public final void rule__Item__Group_17__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4624:1: ( rule__Item__Group_17__0__Impl rule__Item__Group_17__1 ) // InternalGames.g:4625:2: rule__Item__Group_17__0__Impl rule__Item__Group_17__1 { pushFollow(FOLLOW_32); rule__Item__Group_17__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group_17__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_17__0" // $ANTLR start "rule__Item__Group_17__0__Impl" // InternalGames.g:4632:1: rule__Item__Group_17__0__Impl : ( 'conditionsGive' ) ; public final void rule__Item__Group_17__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4636:1: ( ( 'conditionsGive' ) ) // InternalGames.g:4637:1: ( 'conditionsGive' ) { // InternalGames.g:4637:1: ( 'conditionsGive' ) // InternalGames.g:4638:2: 'conditionsGive' { before(grammarAccess.getItemAccess().getConditionsGiveKeyword_17_0()); match(input,49,FOLLOW_2); after(grammarAccess.getItemAccess().getConditionsGiveKeyword_17_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_17__0__Impl" // $ANTLR start "rule__Item__Group_17__1" // InternalGames.g:4647:1: rule__Item__Group_17__1 : rule__Item__Group_17__1__Impl ; public final void rule__Item__Group_17__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4651:1: ( rule__Item__Group_17__1__Impl ) // InternalGames.g:4652:2: rule__Item__Group_17__1__Impl { pushFollow(FOLLOW_2); rule__Item__Group_17__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_17__1" // $ANTLR start "rule__Item__Group_17__1__Impl" // InternalGames.g:4658:1: rule__Item__Group_17__1__Impl : ( ( rule__Item__ConditionsGiveAssignment_17_1 )* ) ; public final void rule__Item__Group_17__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4662:1: ( ( ( rule__Item__ConditionsGiveAssignment_17_1 )* ) ) // InternalGames.g:4663:1: ( ( rule__Item__ConditionsGiveAssignment_17_1 )* ) { // InternalGames.g:4663:1: ( ( rule__Item__ConditionsGiveAssignment_17_1 )* ) // InternalGames.g:4664:2: ( rule__Item__ConditionsGiveAssignment_17_1 )* { before(grammarAccess.getItemAccess().getConditionsGiveAssignment_17_1()); // InternalGames.g:4665:2: ( rule__Item__ConditionsGiveAssignment_17_1 )* loop42: do { int alt42=2; int LA42_0 = input.LA(1); if ( (LA42_0==59) ) { alt42=1; } switch (alt42) { case 1 : // InternalGames.g:4665:3: rule__Item__ConditionsGiveAssignment_17_1 { pushFollow(FOLLOW_33); rule__Item__ConditionsGiveAssignment_17_1(); state._fsp--; } break; default : break loop42; } } while (true); after(grammarAccess.getItemAccess().getConditionsGiveAssignment_17_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_17__1__Impl" // $ANTLR start "rule__Item__Group_18__0" // InternalGames.g:4674:1: rule__Item__Group_18__0 : rule__Item__Group_18__0__Impl rule__Item__Group_18__1 ; public final void rule__Item__Group_18__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4678:1: ( rule__Item__Group_18__0__Impl rule__Item__Group_18__1 ) // InternalGames.g:4679:2: rule__Item__Group_18__0__Impl rule__Item__Group_18__1 { pushFollow(FOLLOW_32); rule__Item__Group_18__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Item__Group_18__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_18__0" // $ANTLR start "rule__Item__Group_18__0__Impl" // InternalGames.g:4686:1: rule__Item__Group_18__0__Impl : ( 'conditionsConsumed' ) ; public final void rule__Item__Group_18__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4690:1: ( ( 'conditionsConsumed' ) ) // InternalGames.g:4691:1: ( 'conditionsConsumed' ) { // InternalGames.g:4691:1: ( 'conditionsConsumed' ) // InternalGames.g:4692:2: 'conditionsConsumed' { before(grammarAccess.getItemAccess().getConditionsConsumedKeyword_18_0()); match(input,50,FOLLOW_2); after(grammarAccess.getItemAccess().getConditionsConsumedKeyword_18_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_18__0__Impl" // $ANTLR start "rule__Item__Group_18__1" // InternalGames.g:4701:1: rule__Item__Group_18__1 : rule__Item__Group_18__1__Impl ; public final void rule__Item__Group_18__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4705:1: ( rule__Item__Group_18__1__Impl ) // InternalGames.g:4706:2: rule__Item__Group_18__1__Impl { pushFollow(FOLLOW_2); rule__Item__Group_18__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_18__1" // $ANTLR start "rule__Item__Group_18__1__Impl" // InternalGames.g:4712:1: rule__Item__Group_18__1__Impl : ( ( rule__Item__ConditionsConsumedAssignment_18_1 )* ) ; public final void rule__Item__Group_18__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4716:1: ( ( ( rule__Item__ConditionsConsumedAssignment_18_1 )* ) ) // InternalGames.g:4717:1: ( ( rule__Item__ConditionsConsumedAssignment_18_1 )* ) { // InternalGames.g:4717:1: ( ( rule__Item__ConditionsConsumedAssignment_18_1 )* ) // InternalGames.g:4718:2: ( rule__Item__ConditionsConsumedAssignment_18_1 )* { before(grammarAccess.getItemAccess().getConditionsConsumedAssignment_18_1()); // InternalGames.g:4719:2: ( rule__Item__ConditionsConsumedAssignment_18_1 )* loop43: do { int alt43=2; int LA43_0 = input.LA(1); if ( (LA43_0==59) ) { alt43=1; } switch (alt43) { case 1 : // InternalGames.g:4719:3: rule__Item__ConditionsConsumedAssignment_18_1 { pushFollow(FOLLOW_33); rule__Item__ConditionsConsumedAssignment_18_1(); state._fsp--; } break; default : break loop43; } } while (true); after(grammarAccess.getItemAccess().getConditionsConsumedAssignment_18_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__Group_18__1__Impl" // $ANTLR start "rule__ItemInSomething__Group__0" // InternalGames.g:4728:1: rule__ItemInSomething__Group__0 : rule__ItemInSomething__Group__0__Impl rule__ItemInSomething__Group__1 ; public final void rule__ItemInSomething__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4732:1: ( rule__ItemInSomething__Group__0__Impl rule__ItemInSomething__Group__1 ) // InternalGames.g:4733:2: rule__ItemInSomething__Group__0__Impl rule__ItemInSomething__Group__1 { pushFollow(FOLLOW_42); rule__ItemInSomething__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInSomething__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__0" // $ANTLR start "rule__ItemInSomething__Group__0__Impl" // InternalGames.g:4740:1: rule__ItemInSomething__Group__0__Impl : ( ( rule__ItemInSomething__ItemAssignment_0 ) ) ; public final void rule__ItemInSomething__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4744:1: ( ( ( rule__ItemInSomething__ItemAssignment_0 ) ) ) // InternalGames.g:4745:1: ( ( rule__ItemInSomething__ItemAssignment_0 ) ) { // InternalGames.g:4745:1: ( ( rule__ItemInSomething__ItemAssignment_0 ) ) // InternalGames.g:4746:2: ( rule__ItemInSomething__ItemAssignment_0 ) { before(grammarAccess.getItemInSomethingAccess().getItemAssignment_0()); // InternalGames.g:4747:2: ( rule__ItemInSomething__ItemAssignment_0 ) // InternalGames.g:4747:3: rule__ItemInSomething__ItemAssignment_0 { pushFollow(FOLLOW_2); rule__ItemInSomething__ItemAssignment_0(); state._fsp--; } after(grammarAccess.getItemInSomethingAccess().getItemAssignment_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__0__Impl" // $ANTLR start "rule__ItemInSomething__Group__1" // InternalGames.g:4755:1: rule__ItemInSomething__Group__1 : rule__ItemInSomething__Group__1__Impl rule__ItemInSomething__Group__2 ; public final void rule__ItemInSomething__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4759:1: ( rule__ItemInSomething__Group__1__Impl rule__ItemInSomething__Group__2 ) // InternalGames.g:4760:2: rule__ItemInSomething__Group__1__Impl rule__ItemInSomething__Group__2 { pushFollow(FOLLOW_22); rule__ItemInSomething__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInSomething__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__1" // $ANTLR start "rule__ItemInSomething__Group__1__Impl" // InternalGames.g:4767:1: rule__ItemInSomething__Group__1__Impl : ( '(' ) ; public final void rule__ItemInSomething__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4771:1: ( ( '(' ) ) // InternalGames.g:4772:1: ( '(' ) { // InternalGames.g:4772:1: ( '(' ) // InternalGames.g:4773:2: '(' { before(grammarAccess.getItemInSomethingAccess().getLeftParenthesisKeyword_1()); match(input,51,FOLLOW_2); after(grammarAccess.getItemInSomethingAccess().getLeftParenthesisKeyword_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__1__Impl" // $ANTLR start "rule__ItemInSomething__Group__2" // InternalGames.g:4782:1: rule__ItemInSomething__Group__2 : rule__ItemInSomething__Group__2__Impl rule__ItemInSomething__Group__3 ; public final void rule__ItemInSomething__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4786:1: ( rule__ItemInSomething__Group__2__Impl rule__ItemInSomething__Group__3 ) // InternalGames.g:4787:2: rule__ItemInSomething__Group__2__Impl rule__ItemInSomething__Group__3 { pushFollow(FOLLOW_43); rule__ItemInSomething__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInSomething__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__2" // $ANTLR start "rule__ItemInSomething__Group__2__Impl" // InternalGames.g:4794:1: rule__ItemInSomething__Group__2__Impl : ( ( rule__ItemInSomething__QuantiteAssignment_2 ) ) ; public final void rule__ItemInSomething__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4798:1: ( ( ( rule__ItemInSomething__QuantiteAssignment_2 ) ) ) // InternalGames.g:4799:1: ( ( rule__ItemInSomething__QuantiteAssignment_2 ) ) { // InternalGames.g:4799:1: ( ( rule__ItemInSomething__QuantiteAssignment_2 ) ) // InternalGames.g:4800:2: ( rule__ItemInSomething__QuantiteAssignment_2 ) { before(grammarAccess.getItemInSomethingAccess().getQuantiteAssignment_2()); // InternalGames.g:4801:2: ( rule__ItemInSomething__QuantiteAssignment_2 ) // InternalGames.g:4801:3: rule__ItemInSomething__QuantiteAssignment_2 { pushFollow(FOLLOW_2); rule__ItemInSomething__QuantiteAssignment_2(); state._fsp--; } after(grammarAccess.getItemInSomethingAccess().getQuantiteAssignment_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__2__Impl" // $ANTLR start "rule__ItemInSomething__Group__3" // InternalGames.g:4809:1: rule__ItemInSomething__Group__3 : rule__ItemInSomething__Group__3__Impl ; public final void rule__ItemInSomething__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4813:1: ( rule__ItemInSomething__Group__3__Impl ) // InternalGames.g:4814:2: rule__ItemInSomething__Group__3__Impl { pushFollow(FOLLOW_2); rule__ItemInSomething__Group__3__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__3" // $ANTLR start "rule__ItemInSomething__Group__3__Impl" // InternalGames.g:4820:1: rule__ItemInSomething__Group__3__Impl : ( ')' ) ; public final void rule__ItemInSomething__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4824:1: ( ( ')' ) ) // InternalGames.g:4825:1: ( ')' ) { // InternalGames.g:4825:1: ( ')' ) // InternalGames.g:4826:2: ')' { before(grammarAccess.getItemInSomethingAccess().getRightParenthesisKeyword_3()); match(input,52,FOLLOW_2); after(grammarAccess.getItemInSomethingAccess().getRightParenthesisKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__Group__3__Impl" // $ANTLR start "rule__Recipe__Group__0" // InternalGames.g:4836:1: rule__Recipe__Group__0 : rule__Recipe__Group__0__Impl rule__Recipe__Group__1 ; public final void rule__Recipe__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4840:1: ( rule__Recipe__Group__0__Impl rule__Recipe__Group__1 ) // InternalGames.g:4841:2: rule__Recipe__Group__0__Impl rule__Recipe__Group__1 { pushFollow(FOLLOW_3); rule__Recipe__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__0" // $ANTLR start "rule__Recipe__Group__0__Impl" // InternalGames.g:4848:1: rule__Recipe__Group__0__Impl : ( 'recipe' ) ; public final void rule__Recipe__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4852:1: ( ( 'recipe' ) ) // InternalGames.g:4853:1: ( 'recipe' ) { // InternalGames.g:4853:1: ( 'recipe' ) // InternalGames.g:4854:2: 'recipe' { before(grammarAccess.getRecipeAccess().getRecipeKeyword_0()); match(input,53,FOLLOW_2); after(grammarAccess.getRecipeAccess().getRecipeKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__0__Impl" // $ANTLR start "rule__Recipe__Group__1" // InternalGames.g:4863:1: rule__Recipe__Group__1 : rule__Recipe__Group__1__Impl rule__Recipe__Group__2 ; public final void rule__Recipe__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4867:1: ( rule__Recipe__Group__1__Impl rule__Recipe__Group__2 ) // InternalGames.g:4868:2: rule__Recipe__Group__1__Impl rule__Recipe__Group__2 { pushFollow(FOLLOW_23); rule__Recipe__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__1" // $ANTLR start "rule__Recipe__Group__1__Impl" // InternalGames.g:4875:1: rule__Recipe__Group__1__Impl : ( ( rule__Recipe__NameAssignment_1 ) ) ; public final void rule__Recipe__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4879:1: ( ( ( rule__Recipe__NameAssignment_1 ) ) ) // InternalGames.g:4880:1: ( ( rule__Recipe__NameAssignment_1 ) ) { // InternalGames.g:4880:1: ( ( rule__Recipe__NameAssignment_1 ) ) // InternalGames.g:4881:2: ( rule__Recipe__NameAssignment_1 ) { before(grammarAccess.getRecipeAccess().getNameAssignment_1()); // InternalGames.g:4882:2: ( rule__Recipe__NameAssignment_1 ) // InternalGames.g:4882:3: rule__Recipe__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Recipe__NameAssignment_1(); state._fsp--; } after(grammarAccess.getRecipeAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__1__Impl" // $ANTLR start "rule__Recipe__Group__2" // InternalGames.g:4890:1: rule__Recipe__Group__2 : rule__Recipe__Group__2__Impl rule__Recipe__Group__3 ; public final void rule__Recipe__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4894:1: ( rule__Recipe__Group__2__Impl rule__Recipe__Group__3 ) // InternalGames.g:4895:2: rule__Recipe__Group__2__Impl rule__Recipe__Group__3 { pushFollow(FOLLOW_44); rule__Recipe__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__2" // $ANTLR start "rule__Recipe__Group__2__Impl" // InternalGames.g:4902:1: rule__Recipe__Group__2__Impl : ( '{' ) ; public final void rule__Recipe__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4906:1: ( ( '{' ) ) // InternalGames.g:4907:1: ( '{' ) { // InternalGames.g:4907:1: ( '{' ) // InternalGames.g:4908:2: '{' { before(grammarAccess.getRecipeAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getRecipeAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__2__Impl" // $ANTLR start "rule__Recipe__Group__3" // InternalGames.g:4917:1: rule__Recipe__Group__3 : rule__Recipe__Group__3__Impl rule__Recipe__Group__4 ; public final void rule__Recipe__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4921:1: ( rule__Recipe__Group__3__Impl rule__Recipe__Group__4 ) // InternalGames.g:4922:2: rule__Recipe__Group__3__Impl rule__Recipe__Group__4 { pushFollow(FOLLOW_45); rule__Recipe__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__3" // $ANTLR start "rule__Recipe__Group__3__Impl" // InternalGames.g:4929:1: rule__Recipe__Group__3__Impl : ( 'itemsUsed' ) ; public final void rule__Recipe__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4933:1: ( ( 'itemsUsed' ) ) // InternalGames.g:4934:1: ( 'itemsUsed' ) { // InternalGames.g:4934:1: ( 'itemsUsed' ) // InternalGames.g:4935:2: 'itemsUsed' { before(grammarAccess.getRecipeAccess().getItemsUsedKeyword_3()); match(input,54,FOLLOW_2); after(grammarAccess.getRecipeAccess().getItemsUsedKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__3__Impl" // $ANTLR start "rule__Recipe__Group__4" // InternalGames.g:4944:1: rule__Recipe__Group__4 : rule__Recipe__Group__4__Impl rule__Recipe__Group__5 ; public final void rule__Recipe__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4948:1: ( rule__Recipe__Group__4__Impl rule__Recipe__Group__5 ) // InternalGames.g:4949:2: rule__Recipe__Group__4__Impl rule__Recipe__Group__5 { pushFollow(FOLLOW_45); rule__Recipe__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__4" // $ANTLR start "rule__Recipe__Group__4__Impl" // InternalGames.g:4956:1: rule__Recipe__Group__4__Impl : ( ( rule__Recipe__ObjectsUsedAssignment_4 )* ) ; public final void rule__Recipe__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4960:1: ( ( ( rule__Recipe__ObjectsUsedAssignment_4 )* ) ) // InternalGames.g:4961:1: ( ( rule__Recipe__ObjectsUsedAssignment_4 )* ) { // InternalGames.g:4961:1: ( ( rule__Recipe__ObjectsUsedAssignment_4 )* ) // InternalGames.g:4962:2: ( rule__Recipe__ObjectsUsedAssignment_4 )* { before(grammarAccess.getRecipeAccess().getObjectsUsedAssignment_4()); // InternalGames.g:4963:2: ( rule__Recipe__ObjectsUsedAssignment_4 )* loop44: do { int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==RULE_ID) ) { alt44=1; } switch (alt44) { case 1 : // InternalGames.g:4963:3: rule__Recipe__ObjectsUsedAssignment_4 { pushFollow(FOLLOW_18); rule__Recipe__ObjectsUsedAssignment_4(); state._fsp--; } break; default : break loop44; } } while (true); after(grammarAccess.getRecipeAccess().getObjectsUsedAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__4__Impl" // $ANTLR start "rule__Recipe__Group__5" // InternalGames.g:4971:1: rule__Recipe__Group__5 : rule__Recipe__Group__5__Impl rule__Recipe__Group__6 ; public final void rule__Recipe__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4975:1: ( rule__Recipe__Group__5__Impl rule__Recipe__Group__6 ) // InternalGames.g:4976:2: rule__Recipe__Group__5__Impl rule__Recipe__Group__6 { pushFollow(FOLLOW_45); rule__Recipe__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__5" // $ANTLR start "rule__Recipe__Group__5__Impl" // InternalGames.g:4983:1: rule__Recipe__Group__5__Impl : ( ( rule__Recipe__Group_5__0 )? ) ; public final void rule__Recipe__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:4987:1: ( ( ( rule__Recipe__Group_5__0 )? ) ) // InternalGames.g:4988:1: ( ( rule__Recipe__Group_5__0 )? ) { // InternalGames.g:4988:1: ( ( rule__Recipe__Group_5__0 )? ) // InternalGames.g:4989:2: ( rule__Recipe__Group_5__0 )? { before(grammarAccess.getRecipeAccess().getGroup_5()); // InternalGames.g:4990:2: ( rule__Recipe__Group_5__0 )? int alt45=2; int LA45_0 = input.LA(1); if ( (LA45_0==56) ) { alt45=1; } switch (alt45) { case 1 : // InternalGames.g:4990:3: rule__Recipe__Group_5__0 { pushFollow(FOLLOW_2); rule__Recipe__Group_5__0(); state._fsp--; } break; } after(grammarAccess.getRecipeAccess().getGroup_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__5__Impl" // $ANTLR start "rule__Recipe__Group__6" // InternalGames.g:4998:1: rule__Recipe__Group__6 : rule__Recipe__Group__6__Impl rule__Recipe__Group__7 ; public final void rule__Recipe__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5002:1: ( rule__Recipe__Group__6__Impl rule__Recipe__Group__7 ) // InternalGames.g:5003:2: rule__Recipe__Group__6__Impl rule__Recipe__Group__7 { pushFollow(FOLLOW_46); rule__Recipe__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__6" // $ANTLR start "rule__Recipe__Group__6__Impl" // InternalGames.g:5010:1: rule__Recipe__Group__6__Impl : ( 'itemsMade' ) ; public final void rule__Recipe__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5014:1: ( ( 'itemsMade' ) ) // InternalGames.g:5015:1: ( 'itemsMade' ) { // InternalGames.g:5015:1: ( 'itemsMade' ) // InternalGames.g:5016:2: 'itemsMade' { before(grammarAccess.getRecipeAccess().getItemsMadeKeyword_6()); match(input,55,FOLLOW_2); after(grammarAccess.getRecipeAccess().getItemsMadeKeyword_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__6__Impl" // $ANTLR start "rule__Recipe__Group__7" // InternalGames.g:5025:1: rule__Recipe__Group__7 : rule__Recipe__Group__7__Impl rule__Recipe__Group__8 ; public final void rule__Recipe__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5029:1: ( rule__Recipe__Group__7__Impl rule__Recipe__Group__8 ) // InternalGames.g:5030:2: rule__Recipe__Group__7__Impl rule__Recipe__Group__8 { pushFollow(FOLLOW_46); rule__Recipe__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__7" // $ANTLR start "rule__Recipe__Group__7__Impl" // InternalGames.g:5037:1: rule__Recipe__Group__7__Impl : ( ( rule__Recipe__ItemsMadeAssignment_7 )* ) ; public final void rule__Recipe__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5041:1: ( ( ( rule__Recipe__ItemsMadeAssignment_7 )* ) ) // InternalGames.g:5042:1: ( ( rule__Recipe__ItemsMadeAssignment_7 )* ) { // InternalGames.g:5042:1: ( ( rule__Recipe__ItemsMadeAssignment_7 )* ) // InternalGames.g:5043:2: ( rule__Recipe__ItemsMadeAssignment_7 )* { before(grammarAccess.getRecipeAccess().getItemsMadeAssignment_7()); // InternalGames.g:5044:2: ( rule__Recipe__ItemsMadeAssignment_7 )* loop46: do { int alt46=2; int LA46_0 = input.LA(1); if ( (LA46_0==RULE_ID) ) { alt46=1; } switch (alt46) { case 1 : // InternalGames.g:5044:3: rule__Recipe__ItemsMadeAssignment_7 { pushFollow(FOLLOW_18); rule__Recipe__ItemsMadeAssignment_7(); state._fsp--; } break; default : break loop46; } } while (true); after(grammarAccess.getRecipeAccess().getItemsMadeAssignment_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__7__Impl" // $ANTLR start "rule__Recipe__Group__8" // InternalGames.g:5052:1: rule__Recipe__Group__8 : rule__Recipe__Group__8__Impl ; public final void rule__Recipe__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5056:1: ( rule__Recipe__Group__8__Impl ) // InternalGames.g:5057:2: rule__Recipe__Group__8__Impl { pushFollow(FOLLOW_2); rule__Recipe__Group__8__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__8" // $ANTLR start "rule__Recipe__Group__8__Impl" // InternalGames.g:5063:1: rule__Recipe__Group__8__Impl : ( '}' ) ; public final void rule__Recipe__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5067:1: ( ( '}' ) ) // InternalGames.g:5068:1: ( '}' ) { // InternalGames.g:5068:1: ( '}' ) // InternalGames.g:5069:2: '}' { before(grammarAccess.getRecipeAccess().getRightCurlyBracketKeyword_8()); match(input,32,FOLLOW_2); after(grammarAccess.getRecipeAccess().getRightCurlyBracketKeyword_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group__8__Impl" // $ANTLR start "rule__Recipe__Group_5__0" // InternalGames.g:5079:1: rule__Recipe__Group_5__0 : rule__Recipe__Group_5__0__Impl rule__Recipe__Group_5__1 ; public final void rule__Recipe__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5083:1: ( rule__Recipe__Group_5__0__Impl rule__Recipe__Group_5__1 ) // InternalGames.g:5084:2: rule__Recipe__Group_5__0__Impl rule__Recipe__Group_5__1 { pushFollow(FOLLOW_32); rule__Recipe__Group_5__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Recipe__Group_5__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group_5__0" // $ANTLR start "rule__Recipe__Group_5__0__Impl" // InternalGames.g:5091:1: rule__Recipe__Group_5__0__Impl : ( 'conditions' ) ; public final void rule__Recipe__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5095:1: ( ( 'conditions' ) ) // InternalGames.g:5096:1: ( 'conditions' ) { // InternalGames.g:5096:1: ( 'conditions' ) // InternalGames.g:5097:2: 'conditions' { before(grammarAccess.getRecipeAccess().getConditionsKeyword_5_0()); match(input,56,FOLLOW_2); after(grammarAccess.getRecipeAccess().getConditionsKeyword_5_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group_5__0__Impl" // $ANTLR start "rule__Recipe__Group_5__1" // InternalGames.g:5106:1: rule__Recipe__Group_5__1 : rule__Recipe__Group_5__1__Impl ; public final void rule__Recipe__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5110:1: ( rule__Recipe__Group_5__1__Impl ) // InternalGames.g:5111:2: rule__Recipe__Group_5__1__Impl { pushFollow(FOLLOW_2); rule__Recipe__Group_5__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group_5__1" // $ANTLR start "rule__Recipe__Group_5__1__Impl" // InternalGames.g:5117:1: rule__Recipe__Group_5__1__Impl : ( ( rule__Recipe__ConditionsAssignment_5_1 )* ) ; public final void rule__Recipe__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5121:1: ( ( ( rule__Recipe__ConditionsAssignment_5_1 )* ) ) // InternalGames.g:5122:1: ( ( rule__Recipe__ConditionsAssignment_5_1 )* ) { // InternalGames.g:5122:1: ( ( rule__Recipe__ConditionsAssignment_5_1 )* ) // InternalGames.g:5123:2: ( rule__Recipe__ConditionsAssignment_5_1 )* { before(grammarAccess.getRecipeAccess().getConditionsAssignment_5_1()); // InternalGames.g:5124:2: ( rule__Recipe__ConditionsAssignment_5_1 )* loop47: do { int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==59) ) { alt47=1; } switch (alt47) { case 1 : // InternalGames.g:5124:3: rule__Recipe__ConditionsAssignment_5_1 { pushFollow(FOLLOW_33); rule__Recipe__ConditionsAssignment_5_1(); state._fsp--; } break; default : break loop47; } } while (true); after(grammarAccess.getRecipeAccess().getConditionsAssignment_5_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__Group_5__1__Impl" // $ANTLR start "rule__Knowledge__Group__0" // InternalGames.g:5133:1: rule__Knowledge__Group__0 : rule__Knowledge__Group__0__Impl rule__Knowledge__Group__1 ; public final void rule__Knowledge__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5137:1: ( rule__Knowledge__Group__0__Impl rule__Knowledge__Group__1 ) // InternalGames.g:5138:2: rule__Knowledge__Group__0__Impl rule__Knowledge__Group__1 { pushFollow(FOLLOW_3); rule__Knowledge__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__0" // $ANTLR start "rule__Knowledge__Group__0__Impl" // InternalGames.g:5145:1: rule__Knowledge__Group__0__Impl : ( 'knowledge' ) ; public final void rule__Knowledge__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5149:1: ( ( 'knowledge' ) ) // InternalGames.g:5150:1: ( 'knowledge' ) { // InternalGames.g:5150:1: ( 'knowledge' ) // InternalGames.g:5151:2: 'knowledge' { before(grammarAccess.getKnowledgeAccess().getKnowledgeKeyword_0()); match(input,26,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getKnowledgeKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__0__Impl" // $ANTLR start "rule__Knowledge__Group__1" // InternalGames.g:5160:1: rule__Knowledge__Group__1 : rule__Knowledge__Group__1__Impl rule__Knowledge__Group__2 ; public final void rule__Knowledge__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5164:1: ( rule__Knowledge__Group__1__Impl rule__Knowledge__Group__2 ) // InternalGames.g:5165:2: rule__Knowledge__Group__1__Impl rule__Knowledge__Group__2 { pushFollow(FOLLOW_23); rule__Knowledge__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__1" // $ANTLR start "rule__Knowledge__Group__1__Impl" // InternalGames.g:5172:1: rule__Knowledge__Group__1__Impl : ( ( rule__Knowledge__NameAssignment_1 ) ) ; public final void rule__Knowledge__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5176:1: ( ( ( rule__Knowledge__NameAssignment_1 ) ) ) // InternalGames.g:5177:1: ( ( rule__Knowledge__NameAssignment_1 ) ) { // InternalGames.g:5177:1: ( ( rule__Knowledge__NameAssignment_1 ) ) // InternalGames.g:5178:2: ( rule__Knowledge__NameAssignment_1 ) { before(grammarAccess.getKnowledgeAccess().getNameAssignment_1()); // InternalGames.g:5179:2: ( rule__Knowledge__NameAssignment_1 ) // InternalGames.g:5179:3: rule__Knowledge__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Knowledge__NameAssignment_1(); state._fsp--; } after(grammarAccess.getKnowledgeAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__1__Impl" // $ANTLR start "rule__Knowledge__Group__2" // InternalGames.g:5187:1: rule__Knowledge__Group__2 : rule__Knowledge__Group__2__Impl rule__Knowledge__Group__3 ; public final void rule__Knowledge__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5191:1: ( rule__Knowledge__Group__2__Impl rule__Knowledge__Group__3 ) // InternalGames.g:5192:2: rule__Knowledge__Group__2__Impl rule__Knowledge__Group__3 { pushFollow(FOLLOW_27); rule__Knowledge__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__2" // $ANTLR start "rule__Knowledge__Group__2__Impl" // InternalGames.g:5199:1: rule__Knowledge__Group__2__Impl : ( '{' ) ; public final void rule__Knowledge__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5203:1: ( ( '{' ) ) // InternalGames.g:5204:1: ( '{' ) { // InternalGames.g:5204:1: ( '{' ) // InternalGames.g:5205:2: '{' { before(grammarAccess.getKnowledgeAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__2__Impl" // $ANTLR start "rule__Knowledge__Group__3" // InternalGames.g:5214:1: rule__Knowledge__Group__3 : rule__Knowledge__Group__3__Impl rule__Knowledge__Group__4 ; public final void rule__Knowledge__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5218:1: ( rule__Knowledge__Group__3__Impl rule__Knowledge__Group__4 ) // InternalGames.g:5219:2: rule__Knowledge__Group__3__Impl rule__Knowledge__Group__4 { pushFollow(FOLLOW_26); rule__Knowledge__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__3" // $ANTLR start "rule__Knowledge__Group__3__Impl" // InternalGames.g:5226:1: rule__Knowledge__Group__3__Impl : ( 'description' ) ; public final void rule__Knowledge__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5230:1: ( ( 'description' ) ) // InternalGames.g:5231:1: ( 'description' ) { // InternalGames.g:5231:1: ( 'description' ) // InternalGames.g:5232:2: 'description' { before(grammarAccess.getKnowledgeAccess().getDescriptionKeyword_3()); match(input,34,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getDescriptionKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__3__Impl" // $ANTLR start "rule__Knowledge__Group__4" // InternalGames.g:5241:1: rule__Knowledge__Group__4 : rule__Knowledge__Group__4__Impl rule__Knowledge__Group__5 ; public final void rule__Knowledge__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5245:1: ( rule__Knowledge__Group__4__Impl rule__Knowledge__Group__5 ) // InternalGames.g:5246:2: rule__Knowledge__Group__4__Impl rule__Knowledge__Group__5 { pushFollow(FOLLOW_28); rule__Knowledge__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__4" // $ANTLR start "rule__Knowledge__Group__4__Impl" // InternalGames.g:5253:1: rule__Knowledge__Group__4__Impl : ( ( rule__Knowledge__DescriptionAssignment_4 ) ) ; public final void rule__Knowledge__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5257:1: ( ( ( rule__Knowledge__DescriptionAssignment_4 ) ) ) // InternalGames.g:5258:1: ( ( rule__Knowledge__DescriptionAssignment_4 ) ) { // InternalGames.g:5258:1: ( ( rule__Knowledge__DescriptionAssignment_4 ) ) // InternalGames.g:5259:2: ( rule__Knowledge__DescriptionAssignment_4 ) { before(grammarAccess.getKnowledgeAccess().getDescriptionAssignment_4()); // InternalGames.g:5260:2: ( rule__Knowledge__DescriptionAssignment_4 ) // InternalGames.g:5260:3: rule__Knowledge__DescriptionAssignment_4 { pushFollow(FOLLOW_2); rule__Knowledge__DescriptionAssignment_4(); state._fsp--; } after(grammarAccess.getKnowledgeAccess().getDescriptionAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__4__Impl" // $ANTLR start "rule__Knowledge__Group__5" // InternalGames.g:5268:1: rule__Knowledge__Group__5 : rule__Knowledge__Group__5__Impl rule__Knowledge__Group__6 ; public final void rule__Knowledge__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5272:1: ( rule__Knowledge__Group__5__Impl rule__Knowledge__Group__6 ) // InternalGames.g:5273:2: rule__Knowledge__Group__5__Impl rule__Knowledge__Group__6 { pushFollow(FOLLOW_22); rule__Knowledge__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__5" // $ANTLR start "rule__Knowledge__Group__5__Impl" // InternalGames.g:5280:1: rule__Knowledge__Group__5__Impl : ( 'visible' ) ; public final void rule__Knowledge__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5284:1: ( ( 'visible' ) ) // InternalGames.g:5285:1: ( 'visible' ) { // InternalGames.g:5285:1: ( 'visible' ) // InternalGames.g:5286:2: 'visible' { before(grammarAccess.getKnowledgeAccess().getVisibleKeyword_5()); match(input,35,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getVisibleKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__5__Impl" // $ANTLR start "rule__Knowledge__Group__6" // InternalGames.g:5295:1: rule__Knowledge__Group__6 : rule__Knowledge__Group__6__Impl rule__Knowledge__Group__7 ; public final void rule__Knowledge__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5299:1: ( rule__Knowledge__Group__6__Impl rule__Knowledge__Group__7 ) // InternalGames.g:5300:2: rule__Knowledge__Group__6__Impl rule__Knowledge__Group__7 { pushFollow(FOLLOW_29); rule__Knowledge__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__6" // $ANTLR start "rule__Knowledge__Group__6__Impl" // InternalGames.g:5307:1: rule__Knowledge__Group__6__Impl : ( ( rule__Knowledge__VisibleAssignment_6 ) ) ; public final void rule__Knowledge__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5311:1: ( ( ( rule__Knowledge__VisibleAssignment_6 ) ) ) // InternalGames.g:5312:1: ( ( rule__Knowledge__VisibleAssignment_6 ) ) { // InternalGames.g:5312:1: ( ( rule__Knowledge__VisibleAssignment_6 ) ) // InternalGames.g:5313:2: ( rule__Knowledge__VisibleAssignment_6 ) { before(grammarAccess.getKnowledgeAccess().getVisibleAssignment_6()); // InternalGames.g:5314:2: ( rule__Knowledge__VisibleAssignment_6 ) // InternalGames.g:5314:3: rule__Knowledge__VisibleAssignment_6 { pushFollow(FOLLOW_2); rule__Knowledge__VisibleAssignment_6(); state._fsp--; } after(grammarAccess.getKnowledgeAccess().getVisibleAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__6__Impl" // $ANTLR start "rule__Knowledge__Group__7" // InternalGames.g:5322:1: rule__Knowledge__Group__7 : rule__Knowledge__Group__7__Impl rule__Knowledge__Group__8 ; public final void rule__Knowledge__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5326:1: ( rule__Knowledge__Group__7__Impl rule__Knowledge__Group__8 ) // InternalGames.g:5327:2: rule__Knowledge__Group__7__Impl rule__Knowledge__Group__8 { pushFollow(FOLLOW_29); rule__Knowledge__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__7" // $ANTLR start "rule__Knowledge__Group__7__Impl" // InternalGames.g:5334:1: rule__Knowledge__Group__7__Impl : ( ( rule__Knowledge__Group_7__0 )? ) ; public final void rule__Knowledge__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5338:1: ( ( ( rule__Knowledge__Group_7__0 )? ) ) // InternalGames.g:5339:1: ( ( rule__Knowledge__Group_7__0 )? ) { // InternalGames.g:5339:1: ( ( rule__Knowledge__Group_7__0 )? ) // InternalGames.g:5340:2: ( rule__Knowledge__Group_7__0 )? { before(grammarAccess.getKnowledgeAccess().getGroup_7()); // InternalGames.g:5341:2: ( rule__Knowledge__Group_7__0 )? int alt48=2; int LA48_0 = input.LA(1); if ( (LA48_0==38) ) { alt48=1; } switch (alt48) { case 1 : // InternalGames.g:5341:3: rule__Knowledge__Group_7__0 { pushFollow(FOLLOW_2); rule__Knowledge__Group_7__0(); state._fsp--; } break; } after(grammarAccess.getKnowledgeAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__7__Impl" // $ANTLR start "rule__Knowledge__Group__8" // InternalGames.g:5349:1: rule__Knowledge__Group__8 : rule__Knowledge__Group__8__Impl rule__Knowledge__Group__9 ; public final void rule__Knowledge__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5353:1: ( rule__Knowledge__Group__8__Impl rule__Knowledge__Group__9 ) // InternalGames.g:5354:2: rule__Knowledge__Group__8__Impl rule__Knowledge__Group__9 { pushFollow(FOLLOW_22); rule__Knowledge__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__8" // $ANTLR start "rule__Knowledge__Group__8__Impl" // InternalGames.g:5361:1: rule__Knowledge__Group__8__Impl : ( 'active' ) ; public final void rule__Knowledge__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5365:1: ( ( 'active' ) ) // InternalGames.g:5366:1: ( 'active' ) { // InternalGames.g:5366:1: ( 'active' ) // InternalGames.g:5367:2: 'active' { before(grammarAccess.getKnowledgeAccess().getActiveKeyword_8()); match(input,36,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getActiveKeyword_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__8__Impl" // $ANTLR start "rule__Knowledge__Group__9" // InternalGames.g:5376:1: rule__Knowledge__Group__9 : rule__Knowledge__Group__9__Impl rule__Knowledge__Group__10 ; public final void rule__Knowledge__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5380:1: ( rule__Knowledge__Group__9__Impl rule__Knowledge__Group__10 ) // InternalGames.g:5381:2: rule__Knowledge__Group__9__Impl rule__Knowledge__Group__10 { pushFollow(FOLLOW_47); rule__Knowledge__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__9" // $ANTLR start "rule__Knowledge__Group__9__Impl" // InternalGames.g:5388:1: rule__Knowledge__Group__9__Impl : ( ( rule__Knowledge__ActiveAssignment_9 ) ) ; public final void rule__Knowledge__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5392:1: ( ( ( rule__Knowledge__ActiveAssignment_9 ) ) ) // InternalGames.g:5393:1: ( ( rule__Knowledge__ActiveAssignment_9 ) ) { // InternalGames.g:5393:1: ( ( rule__Knowledge__ActiveAssignment_9 ) ) // InternalGames.g:5394:2: ( rule__Knowledge__ActiveAssignment_9 ) { before(grammarAccess.getKnowledgeAccess().getActiveAssignment_9()); // InternalGames.g:5395:2: ( rule__Knowledge__ActiveAssignment_9 ) // InternalGames.g:5395:3: rule__Knowledge__ActiveAssignment_9 { pushFollow(FOLLOW_2); rule__Knowledge__ActiveAssignment_9(); state._fsp--; } after(grammarAccess.getKnowledgeAccess().getActiveAssignment_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__9__Impl" // $ANTLR start "rule__Knowledge__Group__10" // InternalGames.g:5403:1: rule__Knowledge__Group__10 : rule__Knowledge__Group__10__Impl rule__Knowledge__Group__11 ; public final void rule__Knowledge__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5407:1: ( rule__Knowledge__Group__10__Impl rule__Knowledge__Group__11 ) // InternalGames.g:5408:2: rule__Knowledge__Group__10__Impl rule__Knowledge__Group__11 { pushFollow(FOLLOW_47); rule__Knowledge__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__10" // $ANTLR start "rule__Knowledge__Group__10__Impl" // InternalGames.g:5415:1: rule__Knowledge__Group__10__Impl : ( ( rule__Knowledge__Group_10__0 )? ) ; public final void rule__Knowledge__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5419:1: ( ( ( rule__Knowledge__Group_10__0 )? ) ) // InternalGames.g:5420:1: ( ( rule__Knowledge__Group_10__0 )? ) { // InternalGames.g:5420:1: ( ( rule__Knowledge__Group_10__0 )? ) // InternalGames.g:5421:2: ( rule__Knowledge__Group_10__0 )? { before(grammarAccess.getKnowledgeAccess().getGroup_10()); // InternalGames.g:5422:2: ( rule__Knowledge__Group_10__0 )? int alt49=2; int LA49_0 = input.LA(1); if ( (LA49_0==39) ) { alt49=1; } switch (alt49) { case 1 : // InternalGames.g:5422:3: rule__Knowledge__Group_10__0 { pushFollow(FOLLOW_2); rule__Knowledge__Group_10__0(); state._fsp--; } break; } after(grammarAccess.getKnowledgeAccess().getGroup_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__10__Impl" // $ANTLR start "rule__Knowledge__Group__11" // InternalGames.g:5430:1: rule__Knowledge__Group__11 : rule__Knowledge__Group__11__Impl rule__Knowledge__Group__12 ; public final void rule__Knowledge__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5434:1: ( rule__Knowledge__Group__11__Impl rule__Knowledge__Group__12 ) // InternalGames.g:5435:2: rule__Knowledge__Group__11__Impl rule__Knowledge__Group__12 { pushFollow(FOLLOW_47); rule__Knowledge__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__11" // $ANTLR start "rule__Knowledge__Group__11__Impl" // InternalGames.g:5442:1: rule__Knowledge__Group__11__Impl : ( ( rule__Knowledge__Group_11__0 )? ) ; public final void rule__Knowledge__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5446:1: ( ( ( rule__Knowledge__Group_11__0 )? ) ) // InternalGames.g:5447:1: ( ( rule__Knowledge__Group_11__0 )? ) { // InternalGames.g:5447:1: ( ( rule__Knowledge__Group_11__0 )? ) // InternalGames.g:5448:2: ( rule__Knowledge__Group_11__0 )? { before(grammarAccess.getKnowledgeAccess().getGroup_11()); // InternalGames.g:5449:2: ( rule__Knowledge__Group_11__0 )? int alt50=2; int LA50_0 = input.LA(1); if ( (LA50_0==49) ) { alt50=1; } switch (alt50) { case 1 : // InternalGames.g:5449:3: rule__Knowledge__Group_11__0 { pushFollow(FOLLOW_2); rule__Knowledge__Group_11__0(); state._fsp--; } break; } after(grammarAccess.getKnowledgeAccess().getGroup_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__11__Impl" // $ANTLR start "rule__Knowledge__Group__12" // InternalGames.g:5457:1: rule__Knowledge__Group__12 : rule__Knowledge__Group__12__Impl ; public final void rule__Knowledge__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5461:1: ( rule__Knowledge__Group__12__Impl ) // InternalGames.g:5462:2: rule__Knowledge__Group__12__Impl { pushFollow(FOLLOW_2); rule__Knowledge__Group__12__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__12" // $ANTLR start "rule__Knowledge__Group__12__Impl" // InternalGames.g:5468:1: rule__Knowledge__Group__12__Impl : ( '}' ) ; public final void rule__Knowledge__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5472:1: ( ( '}' ) ) // InternalGames.g:5473:1: ( '}' ) { // InternalGames.g:5473:1: ( '}' ) // InternalGames.g:5474:2: '}' { before(grammarAccess.getKnowledgeAccess().getRightCurlyBracketKeyword_12()); match(input,32,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getRightCurlyBracketKeyword_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group__12__Impl" // $ANTLR start "rule__Knowledge__Group_7__0" // InternalGames.g:5484:1: rule__Knowledge__Group_7__0 : rule__Knowledge__Group_7__0__Impl rule__Knowledge__Group_7__1 ; public final void rule__Knowledge__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5488:1: ( rule__Knowledge__Group_7__0__Impl rule__Knowledge__Group_7__1 ) // InternalGames.g:5489:2: rule__Knowledge__Group_7__0__Impl rule__Knowledge__Group_7__1 { pushFollow(FOLLOW_32); rule__Knowledge__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_7__0" // $ANTLR start "rule__Knowledge__Group_7__0__Impl" // InternalGames.g:5496:1: rule__Knowledge__Group_7__0__Impl : ( 'conditionsVisible' ) ; public final void rule__Knowledge__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5500:1: ( ( 'conditionsVisible' ) ) // InternalGames.g:5501:1: ( 'conditionsVisible' ) { // InternalGames.g:5501:1: ( 'conditionsVisible' ) // InternalGames.g:5502:2: 'conditionsVisible' { before(grammarAccess.getKnowledgeAccess().getConditionsVisibleKeyword_7_0()); match(input,38,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getConditionsVisibleKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_7__0__Impl" // $ANTLR start "rule__Knowledge__Group_7__1" // InternalGames.g:5511:1: rule__Knowledge__Group_7__1 : rule__Knowledge__Group_7__1__Impl ; public final void rule__Knowledge__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5515:1: ( rule__Knowledge__Group_7__1__Impl ) // InternalGames.g:5516:2: rule__Knowledge__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__Knowledge__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_7__1" // $ANTLR start "rule__Knowledge__Group_7__1__Impl" // InternalGames.g:5522:1: rule__Knowledge__Group_7__1__Impl : ( ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* ) ; public final void rule__Knowledge__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5526:1: ( ( ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* ) ) // InternalGames.g:5527:1: ( ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* ) { // InternalGames.g:5527:1: ( ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* ) // InternalGames.g:5528:2: ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* { before(grammarAccess.getKnowledgeAccess().getConditionsVisibleAssignment_7_1()); // InternalGames.g:5529:2: ( rule__Knowledge__ConditionsVisibleAssignment_7_1 )* loop51: do { int alt51=2; int LA51_0 = input.LA(1); if ( (LA51_0==59) ) { alt51=1; } switch (alt51) { case 1 : // InternalGames.g:5529:3: rule__Knowledge__ConditionsVisibleAssignment_7_1 { pushFollow(FOLLOW_33); rule__Knowledge__ConditionsVisibleAssignment_7_1(); state._fsp--; } break; default : break loop51; } } while (true); after(grammarAccess.getKnowledgeAccess().getConditionsVisibleAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_7__1__Impl" // $ANTLR start "rule__Knowledge__Group_10__0" // InternalGames.g:5538:1: rule__Knowledge__Group_10__0 : rule__Knowledge__Group_10__0__Impl rule__Knowledge__Group_10__1 ; public final void rule__Knowledge__Group_10__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5542:1: ( rule__Knowledge__Group_10__0__Impl rule__Knowledge__Group_10__1 ) // InternalGames.g:5543:2: rule__Knowledge__Group_10__0__Impl rule__Knowledge__Group_10__1 { pushFollow(FOLLOW_32); rule__Knowledge__Group_10__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group_10__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_10__0" // $ANTLR start "rule__Knowledge__Group_10__0__Impl" // InternalGames.g:5550:1: rule__Knowledge__Group_10__0__Impl : ( 'conditionsActive' ) ; public final void rule__Knowledge__Group_10__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5554:1: ( ( 'conditionsActive' ) ) // InternalGames.g:5555:1: ( 'conditionsActive' ) { // InternalGames.g:5555:1: ( 'conditionsActive' ) // InternalGames.g:5556:2: 'conditionsActive' { before(grammarAccess.getKnowledgeAccess().getConditionsActiveKeyword_10_0()); match(input,39,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getConditionsActiveKeyword_10_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_10__0__Impl" // $ANTLR start "rule__Knowledge__Group_10__1" // InternalGames.g:5565:1: rule__Knowledge__Group_10__1 : rule__Knowledge__Group_10__1__Impl ; public final void rule__Knowledge__Group_10__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5569:1: ( rule__Knowledge__Group_10__1__Impl ) // InternalGames.g:5570:2: rule__Knowledge__Group_10__1__Impl { pushFollow(FOLLOW_2); rule__Knowledge__Group_10__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_10__1" // $ANTLR start "rule__Knowledge__Group_10__1__Impl" // InternalGames.g:5576:1: rule__Knowledge__Group_10__1__Impl : ( ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* ) ; public final void rule__Knowledge__Group_10__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5580:1: ( ( ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* ) ) // InternalGames.g:5581:1: ( ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* ) { // InternalGames.g:5581:1: ( ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* ) // InternalGames.g:5582:2: ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* { before(grammarAccess.getKnowledgeAccess().getConditionsActiveAssignment_10_1()); // InternalGames.g:5583:2: ( rule__Knowledge__ConditionsActiveAssignment_10_1 )* loop52: do { int alt52=2; int LA52_0 = input.LA(1); if ( (LA52_0==59) ) { alt52=1; } switch (alt52) { case 1 : // InternalGames.g:5583:3: rule__Knowledge__ConditionsActiveAssignment_10_1 { pushFollow(FOLLOW_33); rule__Knowledge__ConditionsActiveAssignment_10_1(); state._fsp--; } break; default : break loop52; } } while (true); after(grammarAccess.getKnowledgeAccess().getConditionsActiveAssignment_10_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_10__1__Impl" // $ANTLR start "rule__Knowledge__Group_11__0" // InternalGames.g:5592:1: rule__Knowledge__Group_11__0 : rule__Knowledge__Group_11__0__Impl rule__Knowledge__Group_11__1 ; public final void rule__Knowledge__Group_11__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5596:1: ( rule__Knowledge__Group_11__0__Impl rule__Knowledge__Group_11__1 ) // InternalGames.g:5597:2: rule__Knowledge__Group_11__0__Impl rule__Knowledge__Group_11__1 { pushFollow(FOLLOW_32); rule__Knowledge__Group_11__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Knowledge__Group_11__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_11__0" // $ANTLR start "rule__Knowledge__Group_11__0__Impl" // InternalGames.g:5604:1: rule__Knowledge__Group_11__0__Impl : ( 'conditionsGive' ) ; public final void rule__Knowledge__Group_11__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5608:1: ( ( 'conditionsGive' ) ) // InternalGames.g:5609:1: ( 'conditionsGive' ) { // InternalGames.g:5609:1: ( 'conditionsGive' ) // InternalGames.g:5610:2: 'conditionsGive' { before(grammarAccess.getKnowledgeAccess().getConditionsGiveKeyword_11_0()); match(input,49,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getConditionsGiveKeyword_11_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_11__0__Impl" // $ANTLR start "rule__Knowledge__Group_11__1" // InternalGames.g:5619:1: rule__Knowledge__Group_11__1 : rule__Knowledge__Group_11__1__Impl ; public final void rule__Knowledge__Group_11__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5623:1: ( rule__Knowledge__Group_11__1__Impl ) // InternalGames.g:5624:2: rule__Knowledge__Group_11__1__Impl { pushFollow(FOLLOW_2); rule__Knowledge__Group_11__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_11__1" // $ANTLR start "rule__Knowledge__Group_11__1__Impl" // InternalGames.g:5630:1: rule__Knowledge__Group_11__1__Impl : ( ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* ) ; public final void rule__Knowledge__Group_11__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5634:1: ( ( ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* ) ) // InternalGames.g:5635:1: ( ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* ) { // InternalGames.g:5635:1: ( ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* ) // InternalGames.g:5636:2: ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* { before(grammarAccess.getKnowledgeAccess().getConditionsGiveAssignment_11_1()); // InternalGames.g:5637:2: ( rule__Knowledge__ConditionsGiveAssignment_11_1 )* loop53: do { int alt53=2; int LA53_0 = input.LA(1); if ( (LA53_0==59) ) { alt53=1; } switch (alt53) { case 1 : // InternalGames.g:5637:3: rule__Knowledge__ConditionsGiveAssignment_11_1 { pushFollow(FOLLOW_33); rule__Knowledge__ConditionsGiveAssignment_11_1(); state._fsp--; } break; default : break loop53; } } while (true); after(grammarAccess.getKnowledgeAccess().getConditionsGiveAssignment_11_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__Group_11__1__Impl" // $ANTLR start "rule__Place__Group__0" // InternalGames.g:5646:1: rule__Place__Group__0 : rule__Place__Group__0__Impl rule__Place__Group__1 ; public final void rule__Place__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5650:1: ( rule__Place__Group__0__Impl rule__Place__Group__1 ) // InternalGames.g:5651:2: rule__Place__Group__0__Impl rule__Place__Group__1 { pushFollow(FOLLOW_3); rule__Place__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__0" // $ANTLR start "rule__Place__Group__0__Impl" // InternalGames.g:5658:1: rule__Place__Group__0__Impl : ( 'place' ) ; public final void rule__Place__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5662:1: ( ( 'place' ) ) // InternalGames.g:5663:1: ( 'place' ) { // InternalGames.g:5663:1: ( 'place' ) // InternalGames.g:5664:2: 'place' { before(grammarAccess.getPlaceAccess().getPlaceKeyword_0()); match(input,57,FOLLOW_2); after(grammarAccess.getPlaceAccess().getPlaceKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__0__Impl" // $ANTLR start "rule__Place__Group__1" // InternalGames.g:5673:1: rule__Place__Group__1 : rule__Place__Group__1__Impl rule__Place__Group__2 ; public final void rule__Place__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5677:1: ( rule__Place__Group__1__Impl rule__Place__Group__2 ) // InternalGames.g:5678:2: rule__Place__Group__1__Impl rule__Place__Group__2 { pushFollow(FOLLOW_23); rule__Place__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__1" // $ANTLR start "rule__Place__Group__1__Impl" // InternalGames.g:5685:1: rule__Place__Group__1__Impl : ( ( rule__Place__NameAssignment_1 ) ) ; public final void rule__Place__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5689:1: ( ( ( rule__Place__NameAssignment_1 ) ) ) // InternalGames.g:5690:1: ( ( rule__Place__NameAssignment_1 ) ) { // InternalGames.g:5690:1: ( ( rule__Place__NameAssignment_1 ) ) // InternalGames.g:5691:2: ( rule__Place__NameAssignment_1 ) { before(grammarAccess.getPlaceAccess().getNameAssignment_1()); // InternalGames.g:5692:2: ( rule__Place__NameAssignment_1 ) // InternalGames.g:5692:3: rule__Place__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Place__NameAssignment_1(); state._fsp--; } after(grammarAccess.getPlaceAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__1__Impl" // $ANTLR start "rule__Place__Group__2" // InternalGames.g:5700:1: rule__Place__Group__2 : rule__Place__Group__2__Impl rule__Place__Group__3 ; public final void rule__Place__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5704:1: ( rule__Place__Group__2__Impl rule__Place__Group__3 ) // InternalGames.g:5705:2: rule__Place__Group__2__Impl rule__Place__Group__3 { pushFollow(FOLLOW_48); rule__Place__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__2" // $ANTLR start "rule__Place__Group__2__Impl" // InternalGames.g:5712:1: rule__Place__Group__2__Impl : ( '{' ) ; public final void rule__Place__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5716:1: ( ( '{' ) ) // InternalGames.g:5717:1: ( '{' ) { // InternalGames.g:5717:1: ( '{' ) // InternalGames.g:5718:2: '{' { before(grammarAccess.getPlaceAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getPlaceAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__2__Impl" // $ANTLR start "rule__Place__Group__3" // InternalGames.g:5727:1: rule__Place__Group__3 : rule__Place__Group__3__Impl rule__Place__Group__4 ; public final void rule__Place__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5731:1: ( rule__Place__Group__3__Impl rule__Place__Group__4 ) // InternalGames.g:5732:2: rule__Place__Group__3__Impl rule__Place__Group__4 { pushFollow(FOLLOW_48); rule__Place__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__3" // $ANTLR start "rule__Place__Group__3__Impl" // InternalGames.g:5739:1: rule__Place__Group__3__Impl : ( ( rule__Place__Group_3__0 )? ) ; public final void rule__Place__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5743:1: ( ( ( rule__Place__Group_3__0 )? ) ) // InternalGames.g:5744:1: ( ( rule__Place__Group_3__0 )? ) { // InternalGames.g:5744:1: ( ( rule__Place__Group_3__0 )? ) // InternalGames.g:5745:2: ( rule__Place__Group_3__0 )? { before(grammarAccess.getPlaceAccess().getGroup_3()); // InternalGames.g:5746:2: ( rule__Place__Group_3__0 )? int alt54=2; int LA54_0 = input.LA(1); if ( (LA54_0==26) ) { alt54=1; } switch (alt54) { case 1 : // InternalGames.g:5746:3: rule__Place__Group_3__0 { pushFollow(FOLLOW_2); rule__Place__Group_3__0(); state._fsp--; } break; } after(grammarAccess.getPlaceAccess().getGroup_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__3__Impl" // $ANTLR start "rule__Place__Group__4" // InternalGames.g:5754:1: rule__Place__Group__4 : rule__Place__Group__4__Impl rule__Place__Group__5 ; public final void rule__Place__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5758:1: ( rule__Place__Group__4__Impl rule__Place__Group__5 ) // InternalGames.g:5759:2: rule__Place__Group__4__Impl rule__Place__Group__5 { pushFollow(FOLLOW_48); rule__Place__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__4" // $ANTLR start "rule__Place__Group__4__Impl" // InternalGames.g:5766:1: rule__Place__Group__4__Impl : ( ( rule__Place__Group_4__0 )? ) ; public final void rule__Place__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5770:1: ( ( ( rule__Place__Group_4__0 )? ) ) // InternalGames.g:5771:1: ( ( rule__Place__Group_4__0 )? ) { // InternalGames.g:5771:1: ( ( rule__Place__Group_4__0 )? ) // InternalGames.g:5772:2: ( rule__Place__Group_4__0 )? { before(grammarAccess.getPlaceAccess().getGroup_4()); // InternalGames.g:5773:2: ( rule__Place__Group_4__0 )? int alt55=2; int LA55_0 = input.LA(1); if ( (LA55_0==21) ) { alt55=1; } switch (alt55) { case 1 : // InternalGames.g:5773:3: rule__Place__Group_4__0 { pushFollow(FOLLOW_2); rule__Place__Group_4__0(); state._fsp--; } break; } after(grammarAccess.getPlaceAccess().getGroup_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__4__Impl" // $ANTLR start "rule__Place__Group__5" // InternalGames.g:5781:1: rule__Place__Group__5 : rule__Place__Group__5__Impl rule__Place__Group__6 ; public final void rule__Place__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5785:1: ( rule__Place__Group__5__Impl rule__Place__Group__6 ) // InternalGames.g:5786:2: rule__Place__Group__5__Impl rule__Place__Group__6 { pushFollow(FOLLOW_48); rule__Place__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__5" // $ANTLR start "rule__Place__Group__5__Impl" // InternalGames.g:5793:1: rule__Place__Group__5__Impl : ( ( rule__Place__Group_5__0 )? ) ; public final void rule__Place__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5797:1: ( ( ( rule__Place__Group_5__0 )? ) ) // InternalGames.g:5798:1: ( ( rule__Place__Group_5__0 )? ) { // InternalGames.g:5798:1: ( ( rule__Place__Group_5__0 )? ) // InternalGames.g:5799:2: ( rule__Place__Group_5__0 )? { before(grammarAccess.getPlaceAccess().getGroup_5()); // InternalGames.g:5800:2: ( rule__Place__Group_5__0 )? int alt56=2; int LA56_0 = input.LA(1); if ( (LA56_0==58) ) { alt56=1; } switch (alt56) { case 1 : // InternalGames.g:5800:3: rule__Place__Group_5__0 { pushFollow(FOLLOW_2); rule__Place__Group_5__0(); state._fsp--; } break; } after(grammarAccess.getPlaceAccess().getGroup_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__5__Impl" // $ANTLR start "rule__Place__Group__6" // InternalGames.g:5808:1: rule__Place__Group__6 : rule__Place__Group__6__Impl rule__Place__Group__7 ; public final void rule__Place__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5812:1: ( rule__Place__Group__6__Impl rule__Place__Group__7 ) // InternalGames.g:5813:2: rule__Place__Group__6__Impl rule__Place__Group__7 { pushFollow(FOLLOW_48); rule__Place__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__6" // $ANTLR start "rule__Place__Group__6__Impl" // InternalGames.g:5820:1: rule__Place__Group__6__Impl : ( ( rule__Place__Group_6__0 )? ) ; public final void rule__Place__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5824:1: ( ( ( rule__Place__Group_6__0 )? ) ) // InternalGames.g:5825:1: ( ( rule__Place__Group_6__0 )? ) { // InternalGames.g:5825:1: ( ( rule__Place__Group_6__0 )? ) // InternalGames.g:5826:2: ( rule__Place__Group_6__0 )? { before(grammarAccess.getPlaceAccess().getGroup_6()); // InternalGames.g:5827:2: ( rule__Place__Group_6__0 )? int alt57=2; int LA57_0 = input.LA(1); if ( (LA57_0==27) ) { alt57=1; } switch (alt57) { case 1 : // InternalGames.g:5827:3: rule__Place__Group_6__0 { pushFollow(FOLLOW_2); rule__Place__Group_6__0(); state._fsp--; } break; } after(grammarAccess.getPlaceAccess().getGroup_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__6__Impl" // $ANTLR start "rule__Place__Group__7" // InternalGames.g:5835:1: rule__Place__Group__7 : rule__Place__Group__7__Impl ; public final void rule__Place__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5839:1: ( rule__Place__Group__7__Impl ) // InternalGames.g:5840:2: rule__Place__Group__7__Impl { pushFollow(FOLLOW_2); rule__Place__Group__7__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__7" // $ANTLR start "rule__Place__Group__7__Impl" // InternalGames.g:5846:1: rule__Place__Group__7__Impl : ( '}' ) ; public final void rule__Place__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5850:1: ( ( '}' ) ) // InternalGames.g:5851:1: ( '}' ) { // InternalGames.g:5851:1: ( '}' ) // InternalGames.g:5852:2: '}' { before(grammarAccess.getPlaceAccess().getRightCurlyBracketKeyword_7()); match(input,32,FOLLOW_2); after(grammarAccess.getPlaceAccess().getRightCurlyBracketKeyword_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group__7__Impl" // $ANTLR start "rule__Place__Group_3__0" // InternalGames.g:5862:1: rule__Place__Group_3__0 : rule__Place__Group_3__0__Impl rule__Place__Group_3__1 ; public final void rule__Place__Group_3__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5866:1: ( rule__Place__Group_3__0__Impl rule__Place__Group_3__1 ) // InternalGames.g:5867:2: rule__Place__Group_3__0__Impl rule__Place__Group_3__1 { pushFollow(FOLLOW_3); rule__Place__Group_3__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group_3__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_3__0" // $ANTLR start "rule__Place__Group_3__0__Impl" // InternalGames.g:5874:1: rule__Place__Group_3__0__Impl : ( 'knowledge' ) ; public final void rule__Place__Group_3__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5878:1: ( ( 'knowledge' ) ) // InternalGames.g:5879:1: ( 'knowledge' ) { // InternalGames.g:5879:1: ( 'knowledge' ) // InternalGames.g:5880:2: 'knowledge' { before(grammarAccess.getPlaceAccess().getKnowledgeKeyword_3_0()); match(input,26,FOLLOW_2); after(grammarAccess.getPlaceAccess().getKnowledgeKeyword_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_3__0__Impl" // $ANTLR start "rule__Place__Group_3__1" // InternalGames.g:5889:1: rule__Place__Group_3__1 : rule__Place__Group_3__1__Impl ; public final void rule__Place__Group_3__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5893:1: ( rule__Place__Group_3__1__Impl ) // InternalGames.g:5894:2: rule__Place__Group_3__1__Impl { pushFollow(FOLLOW_2); rule__Place__Group_3__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_3__1" // $ANTLR start "rule__Place__Group_3__1__Impl" // InternalGames.g:5900:1: rule__Place__Group_3__1__Impl : ( ( rule__Place__KnowledgesAssignment_3_1 )* ) ; public final void rule__Place__Group_3__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5904:1: ( ( ( rule__Place__KnowledgesAssignment_3_1 )* ) ) // InternalGames.g:5905:1: ( ( rule__Place__KnowledgesAssignment_3_1 )* ) { // InternalGames.g:5905:1: ( ( rule__Place__KnowledgesAssignment_3_1 )* ) // InternalGames.g:5906:2: ( rule__Place__KnowledgesAssignment_3_1 )* { before(grammarAccess.getPlaceAccess().getKnowledgesAssignment_3_1()); // InternalGames.g:5907:2: ( rule__Place__KnowledgesAssignment_3_1 )* loop58: do { int alt58=2; int LA58_0 = input.LA(1); if ( (LA58_0==RULE_ID) ) { alt58=1; } switch (alt58) { case 1 : // InternalGames.g:5907:3: rule__Place__KnowledgesAssignment_3_1 { pushFollow(FOLLOW_18); rule__Place__KnowledgesAssignment_3_1(); state._fsp--; } break; default : break loop58; } } while (true); after(grammarAccess.getPlaceAccess().getKnowledgesAssignment_3_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_3__1__Impl" // $ANTLR start "rule__Place__Group_4__0" // InternalGames.g:5916:1: rule__Place__Group_4__0 : rule__Place__Group_4__0__Impl rule__Place__Group_4__1 ; public final void rule__Place__Group_4__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5920:1: ( rule__Place__Group_4__0__Impl rule__Place__Group_4__1 ) // InternalGames.g:5921:2: rule__Place__Group_4__0__Impl rule__Place__Group_4__1 { pushFollow(FOLLOW_3); rule__Place__Group_4__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group_4__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_4__0" // $ANTLR start "rule__Place__Group_4__0__Impl" // InternalGames.g:5928:1: rule__Place__Group_4__0__Impl : ( 'people' ) ; public final void rule__Place__Group_4__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5932:1: ( ( 'people' ) ) // InternalGames.g:5933:1: ( 'people' ) { // InternalGames.g:5933:1: ( 'people' ) // InternalGames.g:5934:2: 'people' { before(grammarAccess.getPlaceAccess().getPeopleKeyword_4_0()); match(input,21,FOLLOW_2); after(grammarAccess.getPlaceAccess().getPeopleKeyword_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_4__0__Impl" // $ANTLR start "rule__Place__Group_4__1" // InternalGames.g:5943:1: rule__Place__Group_4__1 : rule__Place__Group_4__1__Impl ; public final void rule__Place__Group_4__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5947:1: ( rule__Place__Group_4__1__Impl ) // InternalGames.g:5948:2: rule__Place__Group_4__1__Impl { pushFollow(FOLLOW_2); rule__Place__Group_4__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_4__1" // $ANTLR start "rule__Place__Group_4__1__Impl" // InternalGames.g:5954:1: rule__Place__Group_4__1__Impl : ( ( rule__Place__PeopleAssignment_4_1 )* ) ; public final void rule__Place__Group_4__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5958:1: ( ( ( rule__Place__PeopleAssignment_4_1 )* ) ) // InternalGames.g:5959:1: ( ( rule__Place__PeopleAssignment_4_1 )* ) { // InternalGames.g:5959:1: ( ( rule__Place__PeopleAssignment_4_1 )* ) // InternalGames.g:5960:2: ( rule__Place__PeopleAssignment_4_1 )* { before(grammarAccess.getPlaceAccess().getPeopleAssignment_4_1()); // InternalGames.g:5961:2: ( rule__Place__PeopleAssignment_4_1 )* loop59: do { int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0==RULE_ID) ) { alt59=1; } switch (alt59) { case 1 : // InternalGames.g:5961:3: rule__Place__PeopleAssignment_4_1 { pushFollow(FOLLOW_18); rule__Place__PeopleAssignment_4_1(); state._fsp--; } break; default : break loop59; } } while (true); after(grammarAccess.getPlaceAccess().getPeopleAssignment_4_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_4__1__Impl" // $ANTLR start "rule__Place__Group_5__0" // InternalGames.g:5970:1: rule__Place__Group_5__0 : rule__Place__Group_5__0__Impl rule__Place__Group_5__1 ; public final void rule__Place__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5974:1: ( rule__Place__Group_5__0__Impl rule__Place__Group_5__1 ) // InternalGames.g:5975:2: rule__Place__Group_5__0__Impl rule__Place__Group_5__1 { pushFollow(FOLLOW_3); rule__Place__Group_5__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group_5__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_5__0" // $ANTLR start "rule__Place__Group_5__0__Impl" // InternalGames.g:5982:1: rule__Place__Group_5__0__Impl : ( 'paths' ) ; public final void rule__Place__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:5986:1: ( ( 'paths' ) ) // InternalGames.g:5987:1: ( 'paths' ) { // InternalGames.g:5987:1: ( 'paths' ) // InternalGames.g:5988:2: 'paths' { before(grammarAccess.getPlaceAccess().getPathsKeyword_5_0()); match(input,58,FOLLOW_2); after(grammarAccess.getPlaceAccess().getPathsKeyword_5_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_5__0__Impl" // $ANTLR start "rule__Place__Group_5__1" // InternalGames.g:5997:1: rule__Place__Group_5__1 : rule__Place__Group_5__1__Impl ; public final void rule__Place__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6001:1: ( rule__Place__Group_5__1__Impl ) // InternalGames.g:6002:2: rule__Place__Group_5__1__Impl { pushFollow(FOLLOW_2); rule__Place__Group_5__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_5__1" // $ANTLR start "rule__Place__Group_5__1__Impl" // InternalGames.g:6008:1: rule__Place__Group_5__1__Impl : ( ( rule__Place__PathsAssignment_5_1 )* ) ; public final void rule__Place__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6012:1: ( ( ( rule__Place__PathsAssignment_5_1 )* ) ) // InternalGames.g:6013:1: ( ( rule__Place__PathsAssignment_5_1 )* ) { // InternalGames.g:6013:1: ( ( rule__Place__PathsAssignment_5_1 )* ) // InternalGames.g:6014:2: ( rule__Place__PathsAssignment_5_1 )* { before(grammarAccess.getPlaceAccess().getPathsAssignment_5_1()); // InternalGames.g:6015:2: ( rule__Place__PathsAssignment_5_1 )* loop60: do { int alt60=2; int LA60_0 = input.LA(1); if ( (LA60_0==RULE_ID) ) { alt60=1; } switch (alt60) { case 1 : // InternalGames.g:6015:3: rule__Place__PathsAssignment_5_1 { pushFollow(FOLLOW_18); rule__Place__PathsAssignment_5_1(); state._fsp--; } break; default : break loop60; } } while (true); after(grammarAccess.getPlaceAccess().getPathsAssignment_5_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_5__1__Impl" // $ANTLR start "rule__Place__Group_6__0" // InternalGames.g:6024:1: rule__Place__Group_6__0 : rule__Place__Group_6__0__Impl rule__Place__Group_6__1 ; public final void rule__Place__Group_6__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6028:1: ( rule__Place__Group_6__0__Impl rule__Place__Group_6__1 ) // InternalGames.g:6029:2: rule__Place__Group_6__0__Impl rule__Place__Group_6__1 { pushFollow(FOLLOW_3); rule__Place__Group_6__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Place__Group_6__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_6__0" // $ANTLR start "rule__Place__Group_6__0__Impl" // InternalGames.g:6036:1: rule__Place__Group_6__0__Impl : ( 'items' ) ; public final void rule__Place__Group_6__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6040:1: ( ( 'items' ) ) // InternalGames.g:6041:1: ( 'items' ) { // InternalGames.g:6041:1: ( 'items' ) // InternalGames.g:6042:2: 'items' { before(grammarAccess.getPlaceAccess().getItemsKeyword_6_0()); match(input,27,FOLLOW_2); after(grammarAccess.getPlaceAccess().getItemsKeyword_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_6__0__Impl" // $ANTLR start "rule__Place__Group_6__1" // InternalGames.g:6051:1: rule__Place__Group_6__1 : rule__Place__Group_6__1__Impl ; public final void rule__Place__Group_6__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6055:1: ( rule__Place__Group_6__1__Impl ) // InternalGames.g:6056:2: rule__Place__Group_6__1__Impl { pushFollow(FOLLOW_2); rule__Place__Group_6__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_6__1" // $ANTLR start "rule__Place__Group_6__1__Impl" // InternalGames.g:6062:1: rule__Place__Group_6__1__Impl : ( ( rule__Place__ObjectsAssignment_6_1 )* ) ; public final void rule__Place__Group_6__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6066:1: ( ( ( rule__Place__ObjectsAssignment_6_1 )* ) ) // InternalGames.g:6067:1: ( ( rule__Place__ObjectsAssignment_6_1 )* ) { // InternalGames.g:6067:1: ( ( rule__Place__ObjectsAssignment_6_1 )* ) // InternalGames.g:6068:2: ( rule__Place__ObjectsAssignment_6_1 )* { before(grammarAccess.getPlaceAccess().getObjectsAssignment_6_1()); // InternalGames.g:6069:2: ( rule__Place__ObjectsAssignment_6_1 )* loop61: do { int alt61=2; int LA61_0 = input.LA(1); if ( (LA61_0==RULE_ID) ) { alt61=1; } switch (alt61) { case 1 : // InternalGames.g:6069:3: rule__Place__ObjectsAssignment_6_1 { pushFollow(FOLLOW_18); rule__Place__ObjectsAssignment_6_1(); state._fsp--; } break; default : break loop61; } } while (true); after(grammarAccess.getPlaceAccess().getObjectsAssignment_6_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__Group_6__1__Impl" // $ANTLR start "rule__ItemInCondition__Group__0" // InternalGames.g:6078:1: rule__ItemInCondition__Group__0 : rule__ItemInCondition__Group__0__Impl rule__ItemInCondition__Group__1 ; public final void rule__ItemInCondition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6082:1: ( rule__ItemInCondition__Group__0__Impl rule__ItemInCondition__Group__1 ) // InternalGames.g:6083:2: rule__ItemInCondition__Group__0__Impl rule__ItemInCondition__Group__1 { pushFollow(FOLLOW_4); rule__ItemInCondition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInCondition__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__0" // $ANTLR start "rule__ItemInCondition__Group__0__Impl" // InternalGames.g:6090:1: rule__ItemInCondition__Group__0__Impl : ( ( rule__ItemInCondition__ItemAssignment_0 ) ) ; public final void rule__ItemInCondition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6094:1: ( ( ( rule__ItemInCondition__ItemAssignment_0 ) ) ) // InternalGames.g:6095:1: ( ( rule__ItemInCondition__ItemAssignment_0 ) ) { // InternalGames.g:6095:1: ( ( rule__ItemInCondition__ItemAssignment_0 ) ) // InternalGames.g:6096:2: ( rule__ItemInCondition__ItemAssignment_0 ) { before(grammarAccess.getItemInConditionAccess().getItemAssignment_0()); // InternalGames.g:6097:2: ( rule__ItemInCondition__ItemAssignment_0 ) // InternalGames.g:6097:3: rule__ItemInCondition__ItemAssignment_0 { pushFollow(FOLLOW_2); rule__ItemInCondition__ItemAssignment_0(); state._fsp--; } after(grammarAccess.getItemInConditionAccess().getItemAssignment_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__0__Impl" // $ANTLR start "rule__ItemInCondition__Group__1" // InternalGames.g:6105:1: rule__ItemInCondition__Group__1 : rule__ItemInCondition__Group__1__Impl rule__ItemInCondition__Group__2 ; public final void rule__ItemInCondition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6109:1: ( rule__ItemInCondition__Group__1__Impl rule__ItemInCondition__Group__2 ) // InternalGames.g:6110:2: rule__ItemInCondition__Group__1__Impl rule__ItemInCondition__Group__2 { pushFollow(FOLLOW_22); rule__ItemInCondition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInCondition__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__1" // $ANTLR start "rule__ItemInCondition__Group__1__Impl" // InternalGames.g:6117:1: rule__ItemInCondition__Group__1__Impl : ( ':' ) ; public final void rule__ItemInCondition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6121:1: ( ( ':' ) ) // InternalGames.g:6122:1: ( ':' ) { // InternalGames.g:6122:1: ( ':' ) // InternalGames.g:6123:2: ':' { before(grammarAccess.getItemInConditionAccess().getColonKeyword_1()); match(input,17,FOLLOW_2); after(grammarAccess.getItemInConditionAccess().getColonKeyword_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__1__Impl" // $ANTLR start "rule__ItemInCondition__Group__2" // InternalGames.g:6132:1: rule__ItemInCondition__Group__2 : rule__ItemInCondition__Group__2__Impl rule__ItemInCondition__Group__3 ; public final void rule__ItemInCondition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6136:1: ( rule__ItemInCondition__Group__2__Impl rule__ItemInCondition__Group__3 ) // InternalGames.g:6137:2: rule__ItemInCondition__Group__2__Impl rule__ItemInCondition__Group__3 { pushFollow(FOLLOW_4); rule__ItemInCondition__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInCondition__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__2" // $ANTLR start "rule__ItemInCondition__Group__2__Impl" // InternalGames.g:6144:1: rule__ItemInCondition__Group__2__Impl : ( ( rule__ItemInCondition__QuantityAssignment_2 ) ) ; public final void rule__ItemInCondition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6148:1: ( ( ( rule__ItemInCondition__QuantityAssignment_2 ) ) ) // InternalGames.g:6149:1: ( ( rule__ItemInCondition__QuantityAssignment_2 ) ) { // InternalGames.g:6149:1: ( ( rule__ItemInCondition__QuantityAssignment_2 ) ) // InternalGames.g:6150:2: ( rule__ItemInCondition__QuantityAssignment_2 ) { before(grammarAccess.getItemInConditionAccess().getQuantityAssignment_2()); // InternalGames.g:6151:2: ( rule__ItemInCondition__QuantityAssignment_2 ) // InternalGames.g:6151:3: rule__ItemInCondition__QuantityAssignment_2 { pushFollow(FOLLOW_2); rule__ItemInCondition__QuantityAssignment_2(); state._fsp--; } after(grammarAccess.getItemInConditionAccess().getQuantityAssignment_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__2__Impl" // $ANTLR start "rule__ItemInCondition__Group__3" // InternalGames.g:6159:1: rule__ItemInCondition__Group__3 : rule__ItemInCondition__Group__3__Impl rule__ItemInCondition__Group__4 ; public final void rule__ItemInCondition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6163:1: ( rule__ItemInCondition__Group__3__Impl rule__ItemInCondition__Group__4 ) // InternalGames.g:6164:2: rule__ItemInCondition__Group__3__Impl rule__ItemInCondition__Group__4 { pushFollow(FOLLOW_22); rule__ItemInCondition__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__ItemInCondition__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__3" // $ANTLR start "rule__ItemInCondition__Group__3__Impl" // InternalGames.g:6171:1: rule__ItemInCondition__Group__3__Impl : ( ':' ) ; public final void rule__ItemInCondition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6175:1: ( ( ':' ) ) // InternalGames.g:6176:1: ( ':' ) { // InternalGames.g:6176:1: ( ':' ) // InternalGames.g:6177:2: ':' { before(grammarAccess.getItemInConditionAccess().getColonKeyword_3()); match(input,17,FOLLOW_2); after(grammarAccess.getItemInConditionAccess().getColonKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__3__Impl" // $ANTLR start "rule__ItemInCondition__Group__4" // InternalGames.g:6186:1: rule__ItemInCondition__Group__4 : rule__ItemInCondition__Group__4__Impl ; public final void rule__ItemInCondition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6190:1: ( rule__ItemInCondition__Group__4__Impl ) // InternalGames.g:6191:2: rule__ItemInCondition__Group__4__Impl { pushFollow(FOLLOW_2); rule__ItemInCondition__Group__4__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__4" // $ANTLR start "rule__ItemInCondition__Group__4__Impl" // InternalGames.g:6197:1: rule__ItemInCondition__Group__4__Impl : ( ( rule__ItemInCondition__MustBeExactAssignment_4 ) ) ; public final void rule__ItemInCondition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6201:1: ( ( ( rule__ItemInCondition__MustBeExactAssignment_4 ) ) ) // InternalGames.g:6202:1: ( ( rule__ItemInCondition__MustBeExactAssignment_4 ) ) { // InternalGames.g:6202:1: ( ( rule__ItemInCondition__MustBeExactAssignment_4 ) ) // InternalGames.g:6203:2: ( rule__ItemInCondition__MustBeExactAssignment_4 ) { before(grammarAccess.getItemInConditionAccess().getMustBeExactAssignment_4()); // InternalGames.g:6204:2: ( rule__ItemInCondition__MustBeExactAssignment_4 ) // InternalGames.g:6204:3: rule__ItemInCondition__MustBeExactAssignment_4 { pushFollow(FOLLOW_2); rule__ItemInCondition__MustBeExactAssignment_4(); state._fsp--; } after(grammarAccess.getItemInConditionAccess().getMustBeExactAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__Group__4__Impl" // $ANTLR start "rule__Condition__Group__0" // InternalGames.g:6213:1: rule__Condition__Group__0 : rule__Condition__Group__0__Impl rule__Condition__Group__1 ; public final void rule__Condition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6217:1: ( rule__Condition__Group__0__Impl rule__Condition__Group__1 ) // InternalGames.g:6218:2: rule__Condition__Group__0__Impl rule__Condition__Group__1 { pushFollow(FOLLOW_26); rule__Condition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__0" // $ANTLR start "rule__Condition__Group__0__Impl" // InternalGames.g:6225:1: rule__Condition__Group__0__Impl : ( 'condition' ) ; public final void rule__Condition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6229:1: ( ( 'condition' ) ) // InternalGames.g:6230:1: ( 'condition' ) { // InternalGames.g:6230:1: ( 'condition' ) // InternalGames.g:6231:2: 'condition' { before(grammarAccess.getConditionAccess().getConditionKeyword_0()); match(input,59,FOLLOW_2); after(grammarAccess.getConditionAccess().getConditionKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__0__Impl" // $ANTLR start "rule__Condition__Group__1" // InternalGames.g:6240:1: rule__Condition__Group__1 : rule__Condition__Group__1__Impl rule__Condition__Group__2 ; public final void rule__Condition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6244:1: ( rule__Condition__Group__1__Impl rule__Condition__Group__2 ) // InternalGames.g:6245:2: rule__Condition__Group__1__Impl rule__Condition__Group__2 { pushFollow(FOLLOW_23); rule__Condition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__1" // $ANTLR start "rule__Condition__Group__1__Impl" // InternalGames.g:6252:1: rule__Condition__Group__1__Impl : ( ( rule__Condition__NameAssignment_1 ) ) ; public final void rule__Condition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6256:1: ( ( ( rule__Condition__NameAssignment_1 ) ) ) // InternalGames.g:6257:1: ( ( rule__Condition__NameAssignment_1 ) ) { // InternalGames.g:6257:1: ( ( rule__Condition__NameAssignment_1 ) ) // InternalGames.g:6258:2: ( rule__Condition__NameAssignment_1 ) { before(grammarAccess.getConditionAccess().getNameAssignment_1()); // InternalGames.g:6259:2: ( rule__Condition__NameAssignment_1 ) // InternalGames.g:6259:3: rule__Condition__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Condition__NameAssignment_1(); state._fsp--; } after(grammarAccess.getConditionAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__1__Impl" // $ANTLR start "rule__Condition__Group__2" // InternalGames.g:6267:1: rule__Condition__Group__2 : rule__Condition__Group__2__Impl rule__Condition__Group__3 ; public final void rule__Condition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6271:1: ( rule__Condition__Group__2__Impl rule__Condition__Group__3 ) // InternalGames.g:6272:2: rule__Condition__Group__2__Impl rule__Condition__Group__3 { pushFollow(FOLLOW_5); rule__Condition__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__2" // $ANTLR start "rule__Condition__Group__2__Impl" // InternalGames.g:6279:1: rule__Condition__Group__2__Impl : ( '{' ) ; public final void rule__Condition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6283:1: ( ( '{' ) ) // InternalGames.g:6284:1: ( '{' ) { // InternalGames.g:6284:1: ( '{' ) // InternalGames.g:6285:2: '{' { before(grammarAccess.getConditionAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getConditionAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__2__Impl" // $ANTLR start "rule__Condition__Group__3" // InternalGames.g:6294:1: rule__Condition__Group__3 : rule__Condition__Group__3__Impl rule__Condition__Group__4 ; public final void rule__Condition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6298:1: ( rule__Condition__Group__3__Impl rule__Condition__Group__4 ) // InternalGames.g:6299:2: rule__Condition__Group__3__Impl rule__Condition__Group__4 { pushFollow(FOLLOW_3); rule__Condition__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__3" // $ANTLR start "rule__Condition__Group__3__Impl" // InternalGames.g:6306:1: rule__Condition__Group__3__Impl : ( 'player' ) ; public final void rule__Condition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6310:1: ( ( 'player' ) ) // InternalGames.g:6311:1: ( 'player' ) { // InternalGames.g:6311:1: ( 'player' ) // InternalGames.g:6312:2: 'player' { before(grammarAccess.getConditionAccess().getPlayerKeyword_3()); match(input,33,FOLLOW_2); after(grammarAccess.getConditionAccess().getPlayerKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__3__Impl" // $ANTLR start "rule__Condition__Group__4" // InternalGames.g:6321:1: rule__Condition__Group__4 : rule__Condition__Group__4__Impl rule__Condition__Group__5 ; public final void rule__Condition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6325:1: ( rule__Condition__Group__4__Impl rule__Condition__Group__5 ) // InternalGames.g:6326:2: rule__Condition__Group__4__Impl rule__Condition__Group__5 { pushFollow(FOLLOW_25); rule__Condition__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__4" // $ANTLR start "rule__Condition__Group__4__Impl" // InternalGames.g:6333:1: rule__Condition__Group__4__Impl : ( ( rule__Condition__PlayerAssignment_4 ) ) ; public final void rule__Condition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6337:1: ( ( ( rule__Condition__PlayerAssignment_4 ) ) ) // InternalGames.g:6338:1: ( ( rule__Condition__PlayerAssignment_4 ) ) { // InternalGames.g:6338:1: ( ( rule__Condition__PlayerAssignment_4 ) ) // InternalGames.g:6339:2: ( rule__Condition__PlayerAssignment_4 ) { before(grammarAccess.getConditionAccess().getPlayerAssignment_4()); // InternalGames.g:6340:2: ( rule__Condition__PlayerAssignment_4 ) // InternalGames.g:6340:3: rule__Condition__PlayerAssignment_4 { pushFollow(FOLLOW_2); rule__Condition__PlayerAssignment_4(); state._fsp--; } after(grammarAccess.getConditionAccess().getPlayerAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__4__Impl" // $ANTLR start "rule__Condition__Group__5" // InternalGames.g:6348:1: rule__Condition__Group__5 : rule__Condition__Group__5__Impl rule__Condition__Group__6 ; public final void rule__Condition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6352:1: ( rule__Condition__Group__5__Impl rule__Condition__Group__6 ) // InternalGames.g:6353:2: rule__Condition__Group__5__Impl rule__Condition__Group__6 { pushFollow(FOLLOW_25); rule__Condition__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__5" // $ANTLR start "rule__Condition__Group__5__Impl" // InternalGames.g:6360:1: rule__Condition__Group__5__Impl : ( ( rule__Condition__Group_5__0 )? ) ; public final void rule__Condition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6364:1: ( ( ( rule__Condition__Group_5__0 )? ) ) // InternalGames.g:6365:1: ( ( rule__Condition__Group_5__0 )? ) { // InternalGames.g:6365:1: ( ( rule__Condition__Group_5__0 )? ) // InternalGames.g:6366:2: ( rule__Condition__Group_5__0 )? { before(grammarAccess.getConditionAccess().getGroup_5()); // InternalGames.g:6367:2: ( rule__Condition__Group_5__0 )? int alt62=2; int LA62_0 = input.LA(1); if ( (LA62_0==26) ) { alt62=1; } switch (alt62) { case 1 : // InternalGames.g:6367:3: rule__Condition__Group_5__0 { pushFollow(FOLLOW_2); rule__Condition__Group_5__0(); state._fsp--; } break; } after(grammarAccess.getConditionAccess().getGroup_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__5__Impl" // $ANTLR start "rule__Condition__Group__6" // InternalGames.g:6375:1: rule__Condition__Group__6 : rule__Condition__Group__6__Impl rule__Condition__Group__7 ; public final void rule__Condition__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6379:1: ( rule__Condition__Group__6__Impl rule__Condition__Group__7 ) // InternalGames.g:6380:2: rule__Condition__Group__6__Impl rule__Condition__Group__7 { pushFollow(FOLLOW_25); rule__Condition__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__6" // $ANTLR start "rule__Condition__Group__6__Impl" // InternalGames.g:6387:1: rule__Condition__Group__6__Impl : ( ( rule__Condition__Group_6__0 )? ) ; public final void rule__Condition__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6391:1: ( ( ( rule__Condition__Group_6__0 )? ) ) // InternalGames.g:6392:1: ( ( rule__Condition__Group_6__0 )? ) { // InternalGames.g:6392:1: ( ( rule__Condition__Group_6__0 )? ) // InternalGames.g:6393:2: ( rule__Condition__Group_6__0 )? { before(grammarAccess.getConditionAccess().getGroup_6()); // InternalGames.g:6394:2: ( rule__Condition__Group_6__0 )? int alt63=2; int LA63_0 = input.LA(1); if ( (LA63_0==27) ) { alt63=1; } switch (alt63) { case 1 : // InternalGames.g:6394:3: rule__Condition__Group_6__0 { pushFollow(FOLLOW_2); rule__Condition__Group_6__0(); state._fsp--; } break; } after(grammarAccess.getConditionAccess().getGroup_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__6__Impl" // $ANTLR start "rule__Condition__Group__7" // InternalGames.g:6402:1: rule__Condition__Group__7 : rule__Condition__Group__7__Impl ; public final void rule__Condition__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6406:1: ( rule__Condition__Group__7__Impl ) // InternalGames.g:6407:2: rule__Condition__Group__7__Impl { pushFollow(FOLLOW_2); rule__Condition__Group__7__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__7" // $ANTLR start "rule__Condition__Group__7__Impl" // InternalGames.g:6413:1: rule__Condition__Group__7__Impl : ( '}' ) ; public final void rule__Condition__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6417:1: ( ( '}' ) ) // InternalGames.g:6418:1: ( '}' ) { // InternalGames.g:6418:1: ( '}' ) // InternalGames.g:6419:2: '}' { before(grammarAccess.getConditionAccess().getRightCurlyBracketKeyword_7()); match(input,32,FOLLOW_2); after(grammarAccess.getConditionAccess().getRightCurlyBracketKeyword_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group__7__Impl" // $ANTLR start "rule__Condition__Group_5__0" // InternalGames.g:6429:1: rule__Condition__Group_5__0 : rule__Condition__Group_5__0__Impl rule__Condition__Group_5__1 ; public final void rule__Condition__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6433:1: ( rule__Condition__Group_5__0__Impl rule__Condition__Group_5__1 ) // InternalGames.g:6434:2: rule__Condition__Group_5__0__Impl rule__Condition__Group_5__1 { pushFollow(FOLLOW_3); rule__Condition__Group_5__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group_5__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_5__0" // $ANTLR start "rule__Condition__Group_5__0__Impl" // InternalGames.g:6441:1: rule__Condition__Group_5__0__Impl : ( 'knowledge' ) ; public final void rule__Condition__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6445:1: ( ( 'knowledge' ) ) // InternalGames.g:6446:1: ( 'knowledge' ) { // InternalGames.g:6446:1: ( 'knowledge' ) // InternalGames.g:6447:2: 'knowledge' { before(grammarAccess.getConditionAccess().getKnowledgeKeyword_5_0()); match(input,26,FOLLOW_2); after(grammarAccess.getConditionAccess().getKnowledgeKeyword_5_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_5__0__Impl" // $ANTLR start "rule__Condition__Group_5__1" // InternalGames.g:6456:1: rule__Condition__Group_5__1 : rule__Condition__Group_5__1__Impl ; public final void rule__Condition__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6460:1: ( rule__Condition__Group_5__1__Impl ) // InternalGames.g:6461:2: rule__Condition__Group_5__1__Impl { pushFollow(FOLLOW_2); rule__Condition__Group_5__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_5__1" // $ANTLR start "rule__Condition__Group_5__1__Impl" // InternalGames.g:6467:1: rule__Condition__Group_5__1__Impl : ( ( rule__Condition__KnowAssignment_5_1 )* ) ; public final void rule__Condition__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6471:1: ( ( ( rule__Condition__KnowAssignment_5_1 )* ) ) // InternalGames.g:6472:1: ( ( rule__Condition__KnowAssignment_5_1 )* ) { // InternalGames.g:6472:1: ( ( rule__Condition__KnowAssignment_5_1 )* ) // InternalGames.g:6473:2: ( rule__Condition__KnowAssignment_5_1 )* { before(grammarAccess.getConditionAccess().getKnowAssignment_5_1()); // InternalGames.g:6474:2: ( rule__Condition__KnowAssignment_5_1 )* loop64: do { int alt64=2; int LA64_0 = input.LA(1); if ( (LA64_0==RULE_ID) ) { alt64=1; } switch (alt64) { case 1 : // InternalGames.g:6474:3: rule__Condition__KnowAssignment_5_1 { pushFollow(FOLLOW_18); rule__Condition__KnowAssignment_5_1(); state._fsp--; } break; default : break loop64; } } while (true); after(grammarAccess.getConditionAccess().getKnowAssignment_5_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_5__1__Impl" // $ANTLR start "rule__Condition__Group_6__0" // InternalGames.g:6483:1: rule__Condition__Group_6__0 : rule__Condition__Group_6__0__Impl rule__Condition__Group_6__1 ; public final void rule__Condition__Group_6__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6487:1: ( rule__Condition__Group_6__0__Impl rule__Condition__Group_6__1 ) // InternalGames.g:6488:2: rule__Condition__Group_6__0__Impl rule__Condition__Group_6__1 { pushFollow(FOLLOW_3); rule__Condition__Group_6__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Condition__Group_6__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_6__0" // $ANTLR start "rule__Condition__Group_6__0__Impl" // InternalGames.g:6495:1: rule__Condition__Group_6__0__Impl : ( 'items' ) ; public final void rule__Condition__Group_6__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6499:1: ( ( 'items' ) ) // InternalGames.g:6500:1: ( 'items' ) { // InternalGames.g:6500:1: ( 'items' ) // InternalGames.g:6501:2: 'items' { before(grammarAccess.getConditionAccess().getItemsKeyword_6_0()); match(input,27,FOLLOW_2); after(grammarAccess.getConditionAccess().getItemsKeyword_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_6__0__Impl" // $ANTLR start "rule__Condition__Group_6__1" // InternalGames.g:6510:1: rule__Condition__Group_6__1 : rule__Condition__Group_6__1__Impl ; public final void rule__Condition__Group_6__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6514:1: ( rule__Condition__Group_6__1__Impl ) // InternalGames.g:6515:2: rule__Condition__Group_6__1__Impl { pushFollow(FOLLOW_2); rule__Condition__Group_6__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_6__1" // $ANTLR start "rule__Condition__Group_6__1__Impl" // InternalGames.g:6521:1: rule__Condition__Group_6__1__Impl : ( ( rule__Condition__ItemAssignment_6_1 )* ) ; public final void rule__Condition__Group_6__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6525:1: ( ( ( rule__Condition__ItemAssignment_6_1 )* ) ) // InternalGames.g:6526:1: ( ( rule__Condition__ItemAssignment_6_1 )* ) { // InternalGames.g:6526:1: ( ( rule__Condition__ItemAssignment_6_1 )* ) // InternalGames.g:6527:2: ( rule__Condition__ItemAssignment_6_1 )* { before(grammarAccess.getConditionAccess().getItemAssignment_6_1()); // InternalGames.g:6528:2: ( rule__Condition__ItemAssignment_6_1 )* loop65: do { int alt65=2; int LA65_0 = input.LA(1); if ( (LA65_0==RULE_ID) ) { alt65=1; } switch (alt65) { case 1 : // InternalGames.g:6528:3: rule__Condition__ItemAssignment_6_1 { pushFollow(FOLLOW_18); rule__Condition__ItemAssignment_6_1(); state._fsp--; } break; default : break loop65; } } while (true); after(grammarAccess.getConditionAccess().getItemAssignment_6_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__Group_6__1__Impl" // $ANTLR start "rule__Action__Group__0" // InternalGames.g:6537:1: rule__Action__Group__0 : rule__Action__Group__0__Impl rule__Action__Group__1 ; public final void rule__Action__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6541:1: ( rule__Action__Group__0__Impl rule__Action__Group__1 ) // InternalGames.g:6542:2: rule__Action__Group__0__Impl rule__Action__Group__1 { pushFollow(FOLLOW_3); rule__Action__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__0" // $ANTLR start "rule__Action__Group__0__Impl" // InternalGames.g:6549:1: rule__Action__Group__0__Impl : ( 'action' ) ; public final void rule__Action__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6553:1: ( ( 'action' ) ) // InternalGames.g:6554:1: ( 'action' ) { // InternalGames.g:6554:1: ( 'action' ) // InternalGames.g:6555:2: 'action' { before(grammarAccess.getActionAccess().getActionKeyword_0()); match(input,60,FOLLOW_2); after(grammarAccess.getActionAccess().getActionKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__0__Impl" // $ANTLR start "rule__Action__Group__1" // InternalGames.g:6564:1: rule__Action__Group__1 : rule__Action__Group__1__Impl rule__Action__Group__2 ; public final void rule__Action__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6568:1: ( rule__Action__Group__1__Impl rule__Action__Group__2 ) // InternalGames.g:6569:2: rule__Action__Group__1__Impl rule__Action__Group__2 { pushFollow(FOLLOW_23); rule__Action__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__1" // $ANTLR start "rule__Action__Group__1__Impl" // InternalGames.g:6576:1: rule__Action__Group__1__Impl : ( ( rule__Action__NameAssignment_1 ) ) ; public final void rule__Action__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6580:1: ( ( ( rule__Action__NameAssignment_1 ) ) ) // InternalGames.g:6581:1: ( ( rule__Action__NameAssignment_1 ) ) { // InternalGames.g:6581:1: ( ( rule__Action__NameAssignment_1 ) ) // InternalGames.g:6582:2: ( rule__Action__NameAssignment_1 ) { before(grammarAccess.getActionAccess().getNameAssignment_1()); // InternalGames.g:6583:2: ( rule__Action__NameAssignment_1 ) // InternalGames.g:6583:3: rule__Action__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Action__NameAssignment_1(); state._fsp--; } after(grammarAccess.getActionAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__1__Impl" // $ANTLR start "rule__Action__Group__2" // InternalGames.g:6591:1: rule__Action__Group__2 : rule__Action__Group__2__Impl rule__Action__Group__3 ; public final void rule__Action__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6595:1: ( rule__Action__Group__2__Impl rule__Action__Group__3 ) // InternalGames.g:6596:2: rule__Action__Group__2__Impl rule__Action__Group__3 { pushFollow(FOLLOW_49); rule__Action__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__2" // $ANTLR start "rule__Action__Group__2__Impl" // InternalGames.g:6603:1: rule__Action__Group__2__Impl : ( '{' ) ; public final void rule__Action__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6607:1: ( ( '{' ) ) // InternalGames.g:6608:1: ( '{' ) { // InternalGames.g:6608:1: ( '{' ) // InternalGames.g:6609:2: '{' { before(grammarAccess.getActionAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getActionAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__2__Impl" // $ANTLR start "rule__Action__Group__3" // InternalGames.g:6618:1: rule__Action__Group__3 : rule__Action__Group__3__Impl rule__Action__Group__4 ; public final void rule__Action__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6622:1: ( rule__Action__Group__3__Impl rule__Action__Group__4 ) // InternalGames.g:6623:2: rule__Action__Group__3__Impl rule__Action__Group__4 { pushFollow(FOLLOW_50); rule__Action__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__3" // $ANTLR start "rule__Action__Group__3__Impl" // InternalGames.g:6630:1: rule__Action__Group__3__Impl : ( 'value' ) ; public final void rule__Action__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6634:1: ( ( 'value' ) ) // InternalGames.g:6635:1: ( 'value' ) { // InternalGames.g:6635:1: ( 'value' ) // InternalGames.g:6636:2: 'value' { before(grammarAccess.getActionAccess().getValueKeyword_3()); match(input,61,FOLLOW_2); after(grammarAccess.getActionAccess().getValueKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__3__Impl" // $ANTLR start "rule__Action__Group__4" // InternalGames.g:6645:1: rule__Action__Group__4 : rule__Action__Group__4__Impl rule__Action__Group__5 ; public final void rule__Action__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6649:1: ( rule__Action__Group__4__Impl rule__Action__Group__5 ) // InternalGames.g:6650:2: rule__Action__Group__4__Impl rule__Action__Group__5 { pushFollow(FOLLOW_51); rule__Action__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__4" // $ANTLR start "rule__Action__Group__4__Impl" // InternalGames.g:6657:1: rule__Action__Group__4__Impl : ( ( rule__Action__ValAssignment_4 ) ) ; public final void rule__Action__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6661:1: ( ( ( rule__Action__ValAssignment_4 ) ) ) // InternalGames.g:6662:1: ( ( rule__Action__ValAssignment_4 ) ) { // InternalGames.g:6662:1: ( ( rule__Action__ValAssignment_4 ) ) // InternalGames.g:6663:2: ( rule__Action__ValAssignment_4 ) { before(grammarAccess.getActionAccess().getValAssignment_4()); // InternalGames.g:6664:2: ( rule__Action__ValAssignment_4 ) // InternalGames.g:6664:3: rule__Action__ValAssignment_4 { pushFollow(FOLLOW_2); rule__Action__ValAssignment_4(); state._fsp--; } after(grammarAccess.getActionAccess().getValAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__4__Impl" // $ANTLR start "rule__Action__Group__5" // InternalGames.g:6672:1: rule__Action__Group__5 : rule__Action__Group__5__Impl rule__Action__Group__6 ; public final void rule__Action__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6676:1: ( rule__Action__Group__5__Impl rule__Action__Group__6 ) // InternalGames.g:6677:2: rule__Action__Group__5__Impl rule__Action__Group__6 { pushFollow(FOLLOW_52); rule__Action__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__5" // $ANTLR start "rule__Action__Group__5__Impl" // InternalGames.g:6684:1: rule__Action__Group__5__Impl : ( 'nextInteraction' ) ; public final void rule__Action__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6688:1: ( ( 'nextInteraction' ) ) // InternalGames.g:6689:1: ( 'nextInteraction' ) { // InternalGames.g:6689:1: ( 'nextInteraction' ) // InternalGames.g:6690:2: 'nextInteraction' { before(grammarAccess.getActionAccess().getNextInteractionKeyword_5()); match(input,62,FOLLOW_2); after(grammarAccess.getActionAccess().getNextInteractionKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__5__Impl" // $ANTLR start "rule__Action__Group__6" // InternalGames.g:6699:1: rule__Action__Group__6 : rule__Action__Group__6__Impl rule__Action__Group__7 ; public final void rule__Action__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6703:1: ( rule__Action__Group__6__Impl rule__Action__Group__7 ) // InternalGames.g:6704:2: rule__Action__Group__6__Impl rule__Action__Group__7 { pushFollow(FOLLOW_52); rule__Action__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__6" // $ANTLR start "rule__Action__Group__6__Impl" // InternalGames.g:6711:1: rule__Action__Group__6__Impl : ( ( rule__Action__InterSuivanteAssignment_6 )? ) ; public final void rule__Action__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6715:1: ( ( ( rule__Action__InterSuivanteAssignment_6 )? ) ) // InternalGames.g:6716:1: ( ( rule__Action__InterSuivanteAssignment_6 )? ) { // InternalGames.g:6716:1: ( ( rule__Action__InterSuivanteAssignment_6 )? ) // InternalGames.g:6717:2: ( rule__Action__InterSuivanteAssignment_6 )? { before(grammarAccess.getActionAccess().getInterSuivanteAssignment_6()); // InternalGames.g:6718:2: ( rule__Action__InterSuivanteAssignment_6 )? int alt66=2; int LA66_0 = input.LA(1); if ( (LA66_0==65) ) { alt66=1; } switch (alt66) { case 1 : // InternalGames.g:6718:3: rule__Action__InterSuivanteAssignment_6 { pushFollow(FOLLOW_2); rule__Action__InterSuivanteAssignment_6(); state._fsp--; } break; } after(grammarAccess.getActionAccess().getInterSuivanteAssignment_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__6__Impl" // $ANTLR start "rule__Action__Group__7" // InternalGames.g:6726:1: rule__Action__Group__7 : rule__Action__Group__7__Impl rule__Action__Group__8 ; public final void rule__Action__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6730:1: ( rule__Action__Group__7__Impl rule__Action__Group__8 ) // InternalGames.g:6731:2: rule__Action__Group__7__Impl rule__Action__Group__8 { pushFollow(FOLLOW_52); rule__Action__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__7" // $ANTLR start "rule__Action__Group__7__Impl" // InternalGames.g:6738:1: rule__Action__Group__7__Impl : ( ( rule__Action__Group_7__0 )? ) ; public final void rule__Action__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6742:1: ( ( ( rule__Action__Group_7__0 )? ) ) // InternalGames.g:6743:1: ( ( rule__Action__Group_7__0 )? ) { // InternalGames.g:6743:1: ( ( rule__Action__Group_7__0 )? ) // InternalGames.g:6744:2: ( rule__Action__Group_7__0 )? { before(grammarAccess.getActionAccess().getGroup_7()); // InternalGames.g:6745:2: ( rule__Action__Group_7__0 )? int alt67=2; int LA67_0 = input.LA(1); if ( (LA67_0==63) ) { alt67=1; } switch (alt67) { case 1 : // InternalGames.g:6745:3: rule__Action__Group_7__0 { pushFollow(FOLLOW_2); rule__Action__Group_7__0(); state._fsp--; } break; } after(grammarAccess.getActionAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__7__Impl" // $ANTLR start "rule__Action__Group__8" // InternalGames.g:6753:1: rule__Action__Group__8 : rule__Action__Group__8__Impl rule__Action__Group__9 ; public final void rule__Action__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6757:1: ( rule__Action__Group__8__Impl rule__Action__Group__9 ) // InternalGames.g:6758:2: rule__Action__Group__8__Impl rule__Action__Group__9 { pushFollow(FOLLOW_52); rule__Action__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__8" // $ANTLR start "rule__Action__Group__8__Impl" // InternalGames.g:6765:1: rule__Action__Group__8__Impl : ( ( rule__Action__Group_8__0 )? ) ; public final void rule__Action__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6769:1: ( ( ( rule__Action__Group_8__0 )? ) ) // InternalGames.g:6770:1: ( ( rule__Action__Group_8__0 )? ) { // InternalGames.g:6770:1: ( ( rule__Action__Group_8__0 )? ) // InternalGames.g:6771:2: ( rule__Action__Group_8__0 )? { before(grammarAccess.getActionAccess().getGroup_8()); // InternalGames.g:6772:2: ( rule__Action__Group_8__0 )? int alt68=2; int LA68_0 = input.LA(1); if ( (LA68_0==43) ) { alt68=1; } switch (alt68) { case 1 : // InternalGames.g:6772:3: rule__Action__Group_8__0 { pushFollow(FOLLOW_2); rule__Action__Group_8__0(); state._fsp--; } break; } after(grammarAccess.getActionAccess().getGroup_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__8__Impl" // $ANTLR start "rule__Action__Group__9" // InternalGames.g:6780:1: rule__Action__Group__9 : rule__Action__Group__9__Impl rule__Action__Group__10 ; public final void rule__Action__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6784:1: ( rule__Action__Group__9__Impl rule__Action__Group__10 ) // InternalGames.g:6785:2: rule__Action__Group__9__Impl rule__Action__Group__10 { pushFollow(FOLLOW_52); rule__Action__Group__9__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__10(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__9" // $ANTLR start "rule__Action__Group__9__Impl" // InternalGames.g:6792:1: rule__Action__Group__9__Impl : ( ( rule__Action__Group_9__0 )? ) ; public final void rule__Action__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6796:1: ( ( ( rule__Action__Group_9__0 )? ) ) // InternalGames.g:6797:1: ( ( rule__Action__Group_9__0 )? ) { // InternalGames.g:6797:1: ( ( rule__Action__Group_9__0 )? ) // InternalGames.g:6798:2: ( rule__Action__Group_9__0 )? { before(grammarAccess.getActionAccess().getGroup_9()); // InternalGames.g:6799:2: ( rule__Action__Group_9__0 )? int alt69=2; int LA69_0 = input.LA(1); if ( (LA69_0==44) ) { alt69=1; } switch (alt69) { case 1 : // InternalGames.g:6799:3: rule__Action__Group_9__0 { pushFollow(FOLLOW_2); rule__Action__Group_9__0(); state._fsp--; } break; } after(grammarAccess.getActionAccess().getGroup_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__9__Impl" // $ANTLR start "rule__Action__Group__10" // InternalGames.g:6807:1: rule__Action__Group__10 : rule__Action__Group__10__Impl rule__Action__Group__11 ; public final void rule__Action__Group__10() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6811:1: ( rule__Action__Group__10__Impl rule__Action__Group__11 ) // InternalGames.g:6812:2: rule__Action__Group__10__Impl rule__Action__Group__11 { pushFollow(FOLLOW_52); rule__Action__Group__10__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__11(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__10" // $ANTLR start "rule__Action__Group__10__Impl" // InternalGames.g:6819:1: rule__Action__Group__10__Impl : ( ( rule__Action__Group_10__0 )? ) ; public final void rule__Action__Group__10__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6823:1: ( ( ( rule__Action__Group_10__0 )? ) ) // InternalGames.g:6824:1: ( ( rule__Action__Group_10__0 )? ) { // InternalGames.g:6824:1: ( ( rule__Action__Group_10__0 )? ) // InternalGames.g:6825:2: ( rule__Action__Group_10__0 )? { before(grammarAccess.getActionAccess().getGroup_10()); // InternalGames.g:6826:2: ( rule__Action__Group_10__0 )? int alt70=2; int LA70_0 = input.LA(1); if ( (LA70_0==64) ) { alt70=1; } switch (alt70) { case 1 : // InternalGames.g:6826:3: rule__Action__Group_10__0 { pushFollow(FOLLOW_2); rule__Action__Group_10__0(); state._fsp--; } break; } after(grammarAccess.getActionAccess().getGroup_10()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__10__Impl" // $ANTLR start "rule__Action__Group__11" // InternalGames.g:6834:1: rule__Action__Group__11 : rule__Action__Group__11__Impl rule__Action__Group__12 ; public final void rule__Action__Group__11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6838:1: ( rule__Action__Group__11__Impl rule__Action__Group__12 ) // InternalGames.g:6839:2: rule__Action__Group__11__Impl rule__Action__Group__12 { pushFollow(FOLLOW_3); rule__Action__Group__11__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__12(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__11" // $ANTLR start "rule__Action__Group__11__Impl" // InternalGames.g:6846:1: rule__Action__Group__11__Impl : ( 'game' ) ; public final void rule__Action__Group__11__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6850:1: ( ( 'game' ) ) // InternalGames.g:6851:1: ( 'game' ) { // InternalGames.g:6851:1: ( 'game' ) // InternalGames.g:6852:2: 'game' { before(grammarAccess.getActionAccess().getGameKeyword_11()); match(input,16,FOLLOW_2); after(grammarAccess.getActionAccess().getGameKeyword_11()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__11__Impl" // $ANTLR start "rule__Action__Group__12" // InternalGames.g:6861:1: rule__Action__Group__12 : rule__Action__Group__12__Impl rule__Action__Group__13 ; public final void rule__Action__Group__12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6865:1: ( rule__Action__Group__12__Impl rule__Action__Group__13 ) // InternalGames.g:6866:2: rule__Action__Group__12__Impl rule__Action__Group__13 { pushFollow(FOLLOW_53); rule__Action__Group__12__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group__13(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__12" // $ANTLR start "rule__Action__Group__12__Impl" // InternalGames.g:6873:1: rule__Action__Group__12__Impl : ( ( rule__Action__GameAssignment_12 ) ) ; public final void rule__Action__Group__12__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6877:1: ( ( ( rule__Action__GameAssignment_12 ) ) ) // InternalGames.g:6878:1: ( ( rule__Action__GameAssignment_12 ) ) { // InternalGames.g:6878:1: ( ( rule__Action__GameAssignment_12 ) ) // InternalGames.g:6879:2: ( rule__Action__GameAssignment_12 ) { before(grammarAccess.getActionAccess().getGameAssignment_12()); // InternalGames.g:6880:2: ( rule__Action__GameAssignment_12 ) // InternalGames.g:6880:3: rule__Action__GameAssignment_12 { pushFollow(FOLLOW_2); rule__Action__GameAssignment_12(); state._fsp--; } after(grammarAccess.getActionAccess().getGameAssignment_12()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__12__Impl" // $ANTLR start "rule__Action__Group__13" // InternalGames.g:6888:1: rule__Action__Group__13 : rule__Action__Group__13__Impl ; public final void rule__Action__Group__13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6892:1: ( rule__Action__Group__13__Impl ) // InternalGames.g:6893:2: rule__Action__Group__13__Impl { pushFollow(FOLLOW_2); rule__Action__Group__13__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__13" // $ANTLR start "rule__Action__Group__13__Impl" // InternalGames.g:6899:1: rule__Action__Group__13__Impl : ( '}' ) ; public final void rule__Action__Group__13__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6903:1: ( ( '}' ) ) // InternalGames.g:6904:1: ( '}' ) { // InternalGames.g:6904:1: ( '}' ) // InternalGames.g:6905:2: '}' { before(grammarAccess.getActionAccess().getRightCurlyBracketKeyword_13()); match(input,32,FOLLOW_2); after(grammarAccess.getActionAccess().getRightCurlyBracketKeyword_13()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group__13__Impl" // $ANTLR start "rule__Action__Group_7__0" // InternalGames.g:6915:1: rule__Action__Group_7__0 : rule__Action__Group_7__0__Impl rule__Action__Group_7__1 ; public final void rule__Action__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6919:1: ( rule__Action__Group_7__0__Impl rule__Action__Group_7__1 ) // InternalGames.g:6920:2: rule__Action__Group_7__0__Impl rule__Action__Group_7__1 { pushFollow(FOLLOW_3); rule__Action__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_7__0" // $ANTLR start "rule__Action__Group_7__0__Impl" // InternalGames.g:6927:1: rule__Action__Group_7__0__Impl : ( 'knowledgeGiven' ) ; public final void rule__Action__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6931:1: ( ( 'knowledgeGiven' ) ) // InternalGames.g:6932:1: ( 'knowledgeGiven' ) { // InternalGames.g:6932:1: ( 'knowledgeGiven' ) // InternalGames.g:6933:2: 'knowledgeGiven' { before(grammarAccess.getActionAccess().getKnowledgeGivenKeyword_7_0()); match(input,63,FOLLOW_2); after(grammarAccess.getActionAccess().getKnowledgeGivenKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_7__0__Impl" // $ANTLR start "rule__Action__Group_7__1" // InternalGames.g:6942:1: rule__Action__Group_7__1 : rule__Action__Group_7__1__Impl ; public final void rule__Action__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6946:1: ( rule__Action__Group_7__1__Impl ) // InternalGames.g:6947:2: rule__Action__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__Action__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_7__1" // $ANTLR start "rule__Action__Group_7__1__Impl" // InternalGames.g:6953:1: rule__Action__Group_7__1__Impl : ( ( rule__Action__KnowledgeGivenAssignment_7_1 )* ) ; public final void rule__Action__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6957:1: ( ( ( rule__Action__KnowledgeGivenAssignment_7_1 )* ) ) // InternalGames.g:6958:1: ( ( rule__Action__KnowledgeGivenAssignment_7_1 )* ) { // InternalGames.g:6958:1: ( ( rule__Action__KnowledgeGivenAssignment_7_1 )* ) // InternalGames.g:6959:2: ( rule__Action__KnowledgeGivenAssignment_7_1 )* { before(grammarAccess.getActionAccess().getKnowledgeGivenAssignment_7_1()); // InternalGames.g:6960:2: ( rule__Action__KnowledgeGivenAssignment_7_1 )* loop71: do { int alt71=2; int LA71_0 = input.LA(1); if ( (LA71_0==RULE_ID) ) { alt71=1; } switch (alt71) { case 1 : // InternalGames.g:6960:3: rule__Action__KnowledgeGivenAssignment_7_1 { pushFollow(FOLLOW_18); rule__Action__KnowledgeGivenAssignment_7_1(); state._fsp--; } break; default : break loop71; } } while (true); after(grammarAccess.getActionAccess().getKnowledgeGivenAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_7__1__Impl" // $ANTLR start "rule__Action__Group_8__0" // InternalGames.g:6969:1: rule__Action__Group_8__0 : rule__Action__Group_8__0__Impl rule__Action__Group_8__1 ; public final void rule__Action__Group_8__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6973:1: ( rule__Action__Group_8__0__Impl rule__Action__Group_8__1 ) // InternalGames.g:6974:2: rule__Action__Group_8__0__Impl rule__Action__Group_8__1 { pushFollow(FOLLOW_3); rule__Action__Group_8__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group_8__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_8__0" // $ANTLR start "rule__Action__Group_8__0__Impl" // InternalGames.g:6981:1: rule__Action__Group_8__0__Impl : ( 'itemsGiven' ) ; public final void rule__Action__Group_8__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:6985:1: ( ( 'itemsGiven' ) ) // InternalGames.g:6986:1: ( 'itemsGiven' ) { // InternalGames.g:6986:1: ( 'itemsGiven' ) // InternalGames.g:6987:2: 'itemsGiven' { before(grammarAccess.getActionAccess().getItemsGivenKeyword_8_0()); match(input,43,FOLLOW_2); after(grammarAccess.getActionAccess().getItemsGivenKeyword_8_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_8__0__Impl" // $ANTLR start "rule__Action__Group_8__1" // InternalGames.g:6996:1: rule__Action__Group_8__1 : rule__Action__Group_8__1__Impl ; public final void rule__Action__Group_8__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7000:1: ( rule__Action__Group_8__1__Impl ) // InternalGames.g:7001:2: rule__Action__Group_8__1__Impl { pushFollow(FOLLOW_2); rule__Action__Group_8__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_8__1" // $ANTLR start "rule__Action__Group_8__1__Impl" // InternalGames.g:7007:1: rule__Action__Group_8__1__Impl : ( ( rule__Action__ItemsGivenAssignment_8_1 )* ) ; public final void rule__Action__Group_8__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7011:1: ( ( ( rule__Action__ItemsGivenAssignment_8_1 )* ) ) // InternalGames.g:7012:1: ( ( rule__Action__ItemsGivenAssignment_8_1 )* ) { // InternalGames.g:7012:1: ( ( rule__Action__ItemsGivenAssignment_8_1 )* ) // InternalGames.g:7013:2: ( rule__Action__ItemsGivenAssignment_8_1 )* { before(grammarAccess.getActionAccess().getItemsGivenAssignment_8_1()); // InternalGames.g:7014:2: ( rule__Action__ItemsGivenAssignment_8_1 )* loop72: do { int alt72=2; int LA72_0 = input.LA(1); if ( (LA72_0==RULE_ID) ) { alt72=1; } switch (alt72) { case 1 : // InternalGames.g:7014:3: rule__Action__ItemsGivenAssignment_8_1 { pushFollow(FOLLOW_18); rule__Action__ItemsGivenAssignment_8_1(); state._fsp--; } break; default : break loop72; } } while (true); after(grammarAccess.getActionAccess().getItemsGivenAssignment_8_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_8__1__Impl" // $ANTLR start "rule__Action__Group_9__0" // InternalGames.g:7023:1: rule__Action__Group_9__0 : rule__Action__Group_9__0__Impl rule__Action__Group_9__1 ; public final void rule__Action__Group_9__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7027:1: ( rule__Action__Group_9__0__Impl rule__Action__Group_9__1 ) // InternalGames.g:7028:2: rule__Action__Group_9__0__Impl rule__Action__Group_9__1 { pushFollow(FOLLOW_3); rule__Action__Group_9__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group_9__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_9__0" // $ANTLR start "rule__Action__Group_9__0__Impl" // InternalGames.g:7035:1: rule__Action__Group_9__0__Impl : ( 'itemsConsumed' ) ; public final void rule__Action__Group_9__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7039:1: ( ( 'itemsConsumed' ) ) // InternalGames.g:7040:1: ( 'itemsConsumed' ) { // InternalGames.g:7040:1: ( 'itemsConsumed' ) // InternalGames.g:7041:2: 'itemsConsumed' { before(grammarAccess.getActionAccess().getItemsConsumedKeyword_9_0()); match(input,44,FOLLOW_2); after(grammarAccess.getActionAccess().getItemsConsumedKeyword_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_9__0__Impl" // $ANTLR start "rule__Action__Group_9__1" // InternalGames.g:7050:1: rule__Action__Group_9__1 : rule__Action__Group_9__1__Impl ; public final void rule__Action__Group_9__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7054:1: ( rule__Action__Group_9__1__Impl ) // InternalGames.g:7055:2: rule__Action__Group_9__1__Impl { pushFollow(FOLLOW_2); rule__Action__Group_9__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_9__1" // $ANTLR start "rule__Action__Group_9__1__Impl" // InternalGames.g:7061:1: rule__Action__Group_9__1__Impl : ( ( rule__Action__ItemsConsumedAssignment_9_1 )* ) ; public final void rule__Action__Group_9__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7065:1: ( ( ( rule__Action__ItemsConsumedAssignment_9_1 )* ) ) // InternalGames.g:7066:1: ( ( rule__Action__ItemsConsumedAssignment_9_1 )* ) { // InternalGames.g:7066:1: ( ( rule__Action__ItemsConsumedAssignment_9_1 )* ) // InternalGames.g:7067:2: ( rule__Action__ItemsConsumedAssignment_9_1 )* { before(grammarAccess.getActionAccess().getItemsConsumedAssignment_9_1()); // InternalGames.g:7068:2: ( rule__Action__ItemsConsumedAssignment_9_1 )* loop73: do { int alt73=2; int LA73_0 = input.LA(1); if ( (LA73_0==RULE_ID) ) { alt73=1; } switch (alt73) { case 1 : // InternalGames.g:7068:3: rule__Action__ItemsConsumedAssignment_9_1 { pushFollow(FOLLOW_18); rule__Action__ItemsConsumedAssignment_9_1(); state._fsp--; } break; default : break loop73; } } while (true); after(grammarAccess.getActionAccess().getItemsConsumedAssignment_9_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_9__1__Impl" // $ANTLR start "rule__Action__Group_10__0" // InternalGames.g:7077:1: rule__Action__Group_10__0 : rule__Action__Group_10__0__Impl rule__Action__Group_10__1 ; public final void rule__Action__Group_10__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7081:1: ( rule__Action__Group_10__0__Impl rule__Action__Group_10__1 ) // InternalGames.g:7082:2: rule__Action__Group_10__0__Impl rule__Action__Group_10__1 { pushFollow(FOLLOW_32); rule__Action__Group_10__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Action__Group_10__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_10__0" // $ANTLR start "rule__Action__Group_10__0__Impl" // InternalGames.g:7089:1: rule__Action__Group_10__0__Impl : ( 'conditionsActionsAvailable' ) ; public final void rule__Action__Group_10__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7093:1: ( ( 'conditionsActionsAvailable' ) ) // InternalGames.g:7094:1: ( 'conditionsActionsAvailable' ) { // InternalGames.g:7094:1: ( 'conditionsActionsAvailable' ) // InternalGames.g:7095:2: 'conditionsActionsAvailable' { before(grammarAccess.getActionAccess().getConditionsActionsAvailableKeyword_10_0()); match(input,64,FOLLOW_2); after(grammarAccess.getActionAccess().getConditionsActionsAvailableKeyword_10_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_10__0__Impl" // $ANTLR start "rule__Action__Group_10__1" // InternalGames.g:7104:1: rule__Action__Group_10__1 : rule__Action__Group_10__1__Impl ; public final void rule__Action__Group_10__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7108:1: ( rule__Action__Group_10__1__Impl ) // InternalGames.g:7109:2: rule__Action__Group_10__1__Impl { pushFollow(FOLLOW_2); rule__Action__Group_10__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_10__1" // $ANTLR start "rule__Action__Group_10__1__Impl" // InternalGames.g:7115:1: rule__Action__Group_10__1__Impl : ( ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* ) ; public final void rule__Action__Group_10__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7119:1: ( ( ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* ) ) // InternalGames.g:7120:1: ( ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* ) { // InternalGames.g:7120:1: ( ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* ) // InternalGames.g:7121:2: ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* { before(grammarAccess.getActionAccess().getConditionsActionsAvailableAssignment_10_1()); // InternalGames.g:7122:2: ( rule__Action__ConditionsActionsAvailableAssignment_10_1 )* loop74: do { int alt74=2; int LA74_0 = input.LA(1); if ( (LA74_0==59) ) { alt74=1; } switch (alt74) { case 1 : // InternalGames.g:7122:3: rule__Action__ConditionsActionsAvailableAssignment_10_1 { pushFollow(FOLLOW_33); rule__Action__ConditionsActionsAvailableAssignment_10_1(); state._fsp--; } break; default : break loop74; } } while (true); after(grammarAccess.getActionAccess().getConditionsActionsAvailableAssignment_10_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__Group_10__1__Impl" // $ANTLR start "rule__Interaction__Group__0" // InternalGames.g:7131:1: rule__Interaction__Group__0 : rule__Interaction__Group__0__Impl rule__Interaction__Group__1 ; public final void rule__Interaction__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7135:1: ( rule__Interaction__Group__0__Impl rule__Interaction__Group__1 ) // InternalGames.g:7136:2: rule__Interaction__Group__0__Impl rule__Interaction__Group__1 { pushFollow(FOLLOW_26); rule__Interaction__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__0" // $ANTLR start "rule__Interaction__Group__0__Impl" // InternalGames.g:7143:1: rule__Interaction__Group__0__Impl : ( 'interaction' ) ; public final void rule__Interaction__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7147:1: ( ( 'interaction' ) ) // InternalGames.g:7148:1: ( 'interaction' ) { // InternalGames.g:7148:1: ( 'interaction' ) // InternalGames.g:7149:2: 'interaction' { before(grammarAccess.getInteractionAccess().getInteractionKeyword_0()); match(input,65,FOLLOW_2); after(grammarAccess.getInteractionAccess().getInteractionKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__0__Impl" // $ANTLR start "rule__Interaction__Group__1" // InternalGames.g:7158:1: rule__Interaction__Group__1 : rule__Interaction__Group__1__Impl rule__Interaction__Group__2 ; public final void rule__Interaction__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7162:1: ( rule__Interaction__Group__1__Impl rule__Interaction__Group__2 ) // InternalGames.g:7163:2: rule__Interaction__Group__1__Impl rule__Interaction__Group__2 { pushFollow(FOLLOW_23); rule__Interaction__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__1" // $ANTLR start "rule__Interaction__Group__1__Impl" // InternalGames.g:7170:1: rule__Interaction__Group__1__Impl : ( ( rule__Interaction__NameAssignment_1 ) ) ; public final void rule__Interaction__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7174:1: ( ( ( rule__Interaction__NameAssignment_1 ) ) ) // InternalGames.g:7175:1: ( ( rule__Interaction__NameAssignment_1 ) ) { // InternalGames.g:7175:1: ( ( rule__Interaction__NameAssignment_1 ) ) // InternalGames.g:7176:2: ( rule__Interaction__NameAssignment_1 ) { before(grammarAccess.getInteractionAccess().getNameAssignment_1()); // InternalGames.g:7177:2: ( rule__Interaction__NameAssignment_1 ) // InternalGames.g:7177:3: rule__Interaction__NameAssignment_1 { pushFollow(FOLLOW_2); rule__Interaction__NameAssignment_1(); state._fsp--; } after(grammarAccess.getInteractionAccess().getNameAssignment_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__1__Impl" // $ANTLR start "rule__Interaction__Group__2" // InternalGames.g:7185:1: rule__Interaction__Group__2 : rule__Interaction__Group__2__Impl rule__Interaction__Group__3 ; public final void rule__Interaction__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7189:1: ( rule__Interaction__Group__2__Impl rule__Interaction__Group__3 ) // InternalGames.g:7190:2: rule__Interaction__Group__2__Impl rule__Interaction__Group__3 { pushFollow(FOLLOW_54); rule__Interaction__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__2" // $ANTLR start "rule__Interaction__Group__2__Impl" // InternalGames.g:7197:1: rule__Interaction__Group__2__Impl : ( '{' ) ; public final void rule__Interaction__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7201:1: ( ( '{' ) ) // InternalGames.g:7202:1: ( '{' ) { // InternalGames.g:7202:1: ( '{' ) // InternalGames.g:7203:2: '{' { before(grammarAccess.getInteractionAccess().getLeftCurlyBracketKeyword_2()); match(input,30,FOLLOW_2); after(grammarAccess.getInteractionAccess().getLeftCurlyBracketKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__2__Impl" // $ANTLR start "rule__Interaction__Group__3" // InternalGames.g:7212:1: rule__Interaction__Group__3 : rule__Interaction__Group__3__Impl rule__Interaction__Group__4 ; public final void rule__Interaction__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7216:1: ( rule__Interaction__Group__3__Impl rule__Interaction__Group__4 ) // InternalGames.g:7217:2: rule__Interaction__Group__3__Impl rule__Interaction__Group__4 { pushFollow(FOLLOW_23); rule__Interaction__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__3" // $ANTLR start "rule__Interaction__Group__3__Impl" // InternalGames.g:7224:1: rule__Interaction__Group__3__Impl : ( 'propositions' ) ; public final void rule__Interaction__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7228:1: ( ( 'propositions' ) ) // InternalGames.g:7229:1: ( 'propositions' ) { // InternalGames.g:7229:1: ( 'propositions' ) // InternalGames.g:7230:2: 'propositions' { before(grammarAccess.getInteractionAccess().getPropositionsKeyword_3()); match(input,66,FOLLOW_2); after(grammarAccess.getInteractionAccess().getPropositionsKeyword_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__3__Impl" // $ANTLR start "rule__Interaction__Group__4" // InternalGames.g:7239:1: rule__Interaction__Group__4 : rule__Interaction__Group__4__Impl rule__Interaction__Group__5 ; public final void rule__Interaction__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7243:1: ( rule__Interaction__Group__4__Impl rule__Interaction__Group__5 ) // InternalGames.g:7244:2: rule__Interaction__Group__4__Impl rule__Interaction__Group__5 { pushFollow(FOLLOW_55); rule__Interaction__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__4" // $ANTLR start "rule__Interaction__Group__4__Impl" // InternalGames.g:7251:1: rule__Interaction__Group__4__Impl : ( '{' ) ; public final void rule__Interaction__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7255:1: ( ( '{' ) ) // InternalGames.g:7256:1: ( '{' ) { // InternalGames.g:7256:1: ( '{' ) // InternalGames.g:7257:2: '{' { before(grammarAccess.getInteractionAccess().getLeftCurlyBracketKeyword_4()); match(input,30,FOLLOW_2); after(grammarAccess.getInteractionAccess().getLeftCurlyBracketKeyword_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__4__Impl" // $ANTLR start "rule__Interaction__Group__5" // InternalGames.g:7266:1: rule__Interaction__Group__5 : rule__Interaction__Group__5__Impl rule__Interaction__Group__6 ; public final void rule__Interaction__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7270:1: ( rule__Interaction__Group__5__Impl rule__Interaction__Group__6 ) // InternalGames.g:7271:2: rule__Interaction__Group__5__Impl rule__Interaction__Group__6 { pushFollow(FOLLOW_55); rule__Interaction__Group__5__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__6(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__5" // $ANTLR start "rule__Interaction__Group__5__Impl" // InternalGames.g:7278:1: rule__Interaction__Group__5__Impl : ( ( rule__Interaction__PropAssignment_5 )* ) ; public final void rule__Interaction__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7282:1: ( ( ( rule__Interaction__PropAssignment_5 )* ) ) // InternalGames.g:7283:1: ( ( rule__Interaction__PropAssignment_5 )* ) { // InternalGames.g:7283:1: ( ( rule__Interaction__PropAssignment_5 )* ) // InternalGames.g:7284:2: ( rule__Interaction__PropAssignment_5 )* { before(grammarAccess.getInteractionAccess().getPropAssignment_5()); // InternalGames.g:7285:2: ( rule__Interaction__PropAssignment_5 )* loop75: do { int alt75=2; int LA75_0 = input.LA(1); if ( (LA75_0==69) ) { alt75=1; } switch (alt75) { case 1 : // InternalGames.g:7285:3: rule__Interaction__PropAssignment_5 { pushFollow(FOLLOW_56); rule__Interaction__PropAssignment_5(); state._fsp--; } break; default : break loop75; } } while (true); after(grammarAccess.getInteractionAccess().getPropAssignment_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__5__Impl" // $ANTLR start "rule__Interaction__Group__6" // InternalGames.g:7293:1: rule__Interaction__Group__6 : rule__Interaction__Group__6__Impl rule__Interaction__Group__7 ; public final void rule__Interaction__Group__6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7297:1: ( rule__Interaction__Group__6__Impl rule__Interaction__Group__7 ) // InternalGames.g:7298:2: rule__Interaction__Group__6__Impl rule__Interaction__Group__7 { pushFollow(FOLLOW_57); rule__Interaction__Group__6__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__7(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__6" // $ANTLR start "rule__Interaction__Group__6__Impl" // InternalGames.g:7305:1: rule__Interaction__Group__6__Impl : ( '}' ) ; public final void rule__Interaction__Group__6__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7309:1: ( ( '}' ) ) // InternalGames.g:7310:1: ( '}' ) { // InternalGames.g:7310:1: ( '}' ) // InternalGames.g:7311:2: '}' { before(grammarAccess.getInteractionAccess().getRightCurlyBracketKeyword_6()); match(input,32,FOLLOW_2); after(grammarAccess.getInteractionAccess().getRightCurlyBracketKeyword_6()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__6__Impl" // $ANTLR start "rule__Interaction__Group__7" // InternalGames.g:7320:1: rule__Interaction__Group__7 : rule__Interaction__Group__7__Impl rule__Interaction__Group__8 ; public final void rule__Interaction__Group__7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7324:1: ( rule__Interaction__Group__7__Impl rule__Interaction__Group__8 ) // InternalGames.g:7325:2: rule__Interaction__Group__7__Impl rule__Interaction__Group__8 { pushFollow(FOLLOW_57); rule__Interaction__Group__7__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__8(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__7" // $ANTLR start "rule__Interaction__Group__7__Impl" // InternalGames.g:7332:1: rule__Interaction__Group__7__Impl : ( ( rule__Interaction__Group_7__0 )? ) ; public final void rule__Interaction__Group__7__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7336:1: ( ( ( rule__Interaction__Group_7__0 )? ) ) // InternalGames.g:7337:1: ( ( rule__Interaction__Group_7__0 )? ) { // InternalGames.g:7337:1: ( ( rule__Interaction__Group_7__0 )? ) // InternalGames.g:7338:2: ( rule__Interaction__Group_7__0 )? { before(grammarAccess.getInteractionAccess().getGroup_7()); // InternalGames.g:7339:2: ( rule__Interaction__Group_7__0 )? int alt76=2; int LA76_0 = input.LA(1); if ( (LA76_0==67) ) { alt76=1; } switch (alt76) { case 1 : // InternalGames.g:7339:3: rule__Interaction__Group_7__0 { pushFollow(FOLLOW_2); rule__Interaction__Group_7__0(); state._fsp--; } break; } after(grammarAccess.getInteractionAccess().getGroup_7()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__7__Impl" // $ANTLR start "rule__Interaction__Group__8" // InternalGames.g:7347:1: rule__Interaction__Group__8 : rule__Interaction__Group__8__Impl rule__Interaction__Group__9 ; public final void rule__Interaction__Group__8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7351:1: ( rule__Interaction__Group__8__Impl rule__Interaction__Group__9 ) // InternalGames.g:7352:2: rule__Interaction__Group__8__Impl rule__Interaction__Group__9 { pushFollow(FOLLOW_57); rule__Interaction__Group__8__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group__9(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__8" // $ANTLR start "rule__Interaction__Group__8__Impl" // InternalGames.g:7359:1: rule__Interaction__Group__8__Impl : ( ( rule__Interaction__Group_8__0 )? ) ; public final void rule__Interaction__Group__8__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7363:1: ( ( ( rule__Interaction__Group_8__0 )? ) ) // InternalGames.g:7364:1: ( ( rule__Interaction__Group_8__0 )? ) { // InternalGames.g:7364:1: ( ( rule__Interaction__Group_8__0 )? ) // InternalGames.g:7365:2: ( rule__Interaction__Group_8__0 )? { before(grammarAccess.getInteractionAccess().getGroup_8()); // InternalGames.g:7366:2: ( rule__Interaction__Group_8__0 )? int alt77=2; int LA77_0 = input.LA(1); if ( (LA77_0==68) ) { alt77=1; } switch (alt77) { case 1 : // InternalGames.g:7366:3: rule__Interaction__Group_8__0 { pushFollow(FOLLOW_2); rule__Interaction__Group_8__0(); state._fsp--; } break; } after(grammarAccess.getInteractionAccess().getGroup_8()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__8__Impl" // $ANTLR start "rule__Interaction__Group__9" // InternalGames.g:7374:1: rule__Interaction__Group__9 : rule__Interaction__Group__9__Impl ; public final void rule__Interaction__Group__9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7378:1: ( rule__Interaction__Group__9__Impl ) // InternalGames.g:7379:2: rule__Interaction__Group__9__Impl { pushFollow(FOLLOW_2); rule__Interaction__Group__9__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__9" // $ANTLR start "rule__Interaction__Group__9__Impl" // InternalGames.g:7385:1: rule__Interaction__Group__9__Impl : ( '}' ) ; public final void rule__Interaction__Group__9__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7389:1: ( ( '}' ) ) // InternalGames.g:7390:1: ( '}' ) { // InternalGames.g:7390:1: ( '}' ) // InternalGames.g:7391:2: '}' { before(grammarAccess.getInteractionAccess().getRightCurlyBracketKeyword_9()); match(input,32,FOLLOW_2); after(grammarAccess.getInteractionAccess().getRightCurlyBracketKeyword_9()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group__9__Impl" // $ANTLR start "rule__Interaction__Group_7__0" // InternalGames.g:7401:1: rule__Interaction__Group_7__0 : rule__Interaction__Group_7__0__Impl rule__Interaction__Group_7__1 ; public final void rule__Interaction__Group_7__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7405:1: ( rule__Interaction__Group_7__0__Impl rule__Interaction__Group_7__1 ) // InternalGames.g:7406:2: rule__Interaction__Group_7__0__Impl rule__Interaction__Group_7__1 { pushFollow(FOLLOW_32); rule__Interaction__Group_7__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group_7__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_7__0" // $ANTLR start "rule__Interaction__Group_7__0__Impl" // InternalGames.g:7413:1: rule__Interaction__Group_7__0__Impl : ( 'conditionsBegin' ) ; public final void rule__Interaction__Group_7__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7417:1: ( ( 'conditionsBegin' ) ) // InternalGames.g:7418:1: ( 'conditionsBegin' ) { // InternalGames.g:7418:1: ( 'conditionsBegin' ) // InternalGames.g:7419:2: 'conditionsBegin' { before(grammarAccess.getInteractionAccess().getConditionsBeginKeyword_7_0()); match(input,67,FOLLOW_2); after(grammarAccess.getInteractionAccess().getConditionsBeginKeyword_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_7__0__Impl" // $ANTLR start "rule__Interaction__Group_7__1" // InternalGames.g:7428:1: rule__Interaction__Group_7__1 : rule__Interaction__Group_7__1__Impl ; public final void rule__Interaction__Group_7__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7432:1: ( rule__Interaction__Group_7__1__Impl ) // InternalGames.g:7433:2: rule__Interaction__Group_7__1__Impl { pushFollow(FOLLOW_2); rule__Interaction__Group_7__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_7__1" // $ANTLR start "rule__Interaction__Group_7__1__Impl" // InternalGames.g:7439:1: rule__Interaction__Group_7__1__Impl : ( ( rule__Interaction__ConditionsBeginAssignment_7_1 )* ) ; public final void rule__Interaction__Group_7__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7443:1: ( ( ( rule__Interaction__ConditionsBeginAssignment_7_1 )* ) ) // InternalGames.g:7444:1: ( ( rule__Interaction__ConditionsBeginAssignment_7_1 )* ) { // InternalGames.g:7444:1: ( ( rule__Interaction__ConditionsBeginAssignment_7_1 )* ) // InternalGames.g:7445:2: ( rule__Interaction__ConditionsBeginAssignment_7_1 )* { before(grammarAccess.getInteractionAccess().getConditionsBeginAssignment_7_1()); // InternalGames.g:7446:2: ( rule__Interaction__ConditionsBeginAssignment_7_1 )* loop78: do { int alt78=2; int LA78_0 = input.LA(1); if ( (LA78_0==59) ) { alt78=1; } switch (alt78) { case 1 : // InternalGames.g:7446:3: rule__Interaction__ConditionsBeginAssignment_7_1 { pushFollow(FOLLOW_33); rule__Interaction__ConditionsBeginAssignment_7_1(); state._fsp--; } break; default : break loop78; } } while (true); after(grammarAccess.getInteractionAccess().getConditionsBeginAssignment_7_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_7__1__Impl" // $ANTLR start "rule__Interaction__Group_8__0" // InternalGames.g:7455:1: rule__Interaction__Group_8__0 : rule__Interaction__Group_8__0__Impl rule__Interaction__Group_8__1 ; public final void rule__Interaction__Group_8__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7459:1: ( rule__Interaction__Group_8__0__Impl rule__Interaction__Group_8__1 ) // InternalGames.g:7460:2: rule__Interaction__Group_8__0__Impl rule__Interaction__Group_8__1 { pushFollow(FOLLOW_32); rule__Interaction__Group_8__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Interaction__Group_8__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_8__0" // $ANTLR start "rule__Interaction__Group_8__0__Impl" // InternalGames.g:7467:1: rule__Interaction__Group_8__0__Impl : ( 'conditionsEnd' ) ; public final void rule__Interaction__Group_8__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7471:1: ( ( 'conditionsEnd' ) ) // InternalGames.g:7472:1: ( 'conditionsEnd' ) { // InternalGames.g:7472:1: ( 'conditionsEnd' ) // InternalGames.g:7473:2: 'conditionsEnd' { before(grammarAccess.getInteractionAccess().getConditionsEndKeyword_8_0()); match(input,68,FOLLOW_2); after(grammarAccess.getInteractionAccess().getConditionsEndKeyword_8_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_8__0__Impl" // $ANTLR start "rule__Interaction__Group_8__1" // InternalGames.g:7482:1: rule__Interaction__Group_8__1 : rule__Interaction__Group_8__1__Impl ; public final void rule__Interaction__Group_8__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7486:1: ( rule__Interaction__Group_8__1__Impl ) // InternalGames.g:7487:2: rule__Interaction__Group_8__1__Impl { pushFollow(FOLLOW_2); rule__Interaction__Group_8__1__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_8__1" // $ANTLR start "rule__Interaction__Group_8__1__Impl" // InternalGames.g:7493:1: rule__Interaction__Group_8__1__Impl : ( ( rule__Interaction__ConditionsEndAssignment_8_1 )* ) ; public final void rule__Interaction__Group_8__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7497:1: ( ( ( rule__Interaction__ConditionsEndAssignment_8_1 )* ) ) // InternalGames.g:7498:1: ( ( rule__Interaction__ConditionsEndAssignment_8_1 )* ) { // InternalGames.g:7498:1: ( ( rule__Interaction__ConditionsEndAssignment_8_1 )* ) // InternalGames.g:7499:2: ( rule__Interaction__ConditionsEndAssignment_8_1 )* { before(grammarAccess.getInteractionAccess().getConditionsEndAssignment_8_1()); // InternalGames.g:7500:2: ( rule__Interaction__ConditionsEndAssignment_8_1 )* loop79: do { int alt79=2; int LA79_0 = input.LA(1); if ( (LA79_0==59) ) { alt79=1; } switch (alt79) { case 1 : // InternalGames.g:7500:3: rule__Interaction__ConditionsEndAssignment_8_1 { pushFollow(FOLLOW_33); rule__Interaction__ConditionsEndAssignment_8_1(); state._fsp--; } break; default : break loop79; } } while (true); after(grammarAccess.getInteractionAccess().getConditionsEndAssignment_8_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__Group_8__1__Impl" // $ANTLR start "rule__Proposition__Group__0" // InternalGames.g:7509:1: rule__Proposition__Group__0 : rule__Proposition__Group__0__Impl rule__Proposition__Group__1 ; public final void rule__Proposition__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7513:1: ( rule__Proposition__Group__0__Impl rule__Proposition__Group__1 ) // InternalGames.g:7514:2: rule__Proposition__Group__0__Impl rule__Proposition__Group__1 { pushFollow(FOLLOW_23); rule__Proposition__Group__0__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Proposition__Group__1(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__0" // $ANTLR start "rule__Proposition__Group__0__Impl" // InternalGames.g:7521:1: rule__Proposition__Group__0__Impl : ( 'proposition' ) ; public final void rule__Proposition__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7525:1: ( ( 'proposition' ) ) // InternalGames.g:7526:1: ( 'proposition' ) { // InternalGames.g:7526:1: ( 'proposition' ) // InternalGames.g:7527:2: 'proposition' { before(grammarAccess.getPropositionAccess().getPropositionKeyword_0()); match(input,69,FOLLOW_2); after(grammarAccess.getPropositionAccess().getPropositionKeyword_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__0__Impl" // $ANTLR start "rule__Proposition__Group__1" // InternalGames.g:7536:1: rule__Proposition__Group__1 : rule__Proposition__Group__1__Impl rule__Proposition__Group__2 ; public final void rule__Proposition__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7540:1: ( rule__Proposition__Group__1__Impl rule__Proposition__Group__2 ) // InternalGames.g:7541:2: rule__Proposition__Group__1__Impl rule__Proposition__Group__2 { pushFollow(FOLLOW_49); rule__Proposition__Group__1__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Proposition__Group__2(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__1" // $ANTLR start "rule__Proposition__Group__1__Impl" // InternalGames.g:7548:1: rule__Proposition__Group__1__Impl : ( '{' ) ; public final void rule__Proposition__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7552:1: ( ( '{' ) ) // InternalGames.g:7553:1: ( '{' ) { // InternalGames.g:7553:1: ( '{' ) // InternalGames.g:7554:2: '{' { before(grammarAccess.getPropositionAccess().getLeftCurlyBracketKeyword_1()); match(input,30,FOLLOW_2); after(grammarAccess.getPropositionAccess().getLeftCurlyBracketKeyword_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__1__Impl" // $ANTLR start "rule__Proposition__Group__2" // InternalGames.g:7563:1: rule__Proposition__Group__2 : rule__Proposition__Group__2__Impl rule__Proposition__Group__3 ; public final void rule__Proposition__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7567:1: ( rule__Proposition__Group__2__Impl rule__Proposition__Group__3 ) // InternalGames.g:7568:2: rule__Proposition__Group__2__Impl rule__Proposition__Group__3 { pushFollow(FOLLOW_26); rule__Proposition__Group__2__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Proposition__Group__3(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__2" // $ANTLR start "rule__Proposition__Group__2__Impl" // InternalGames.g:7575:1: rule__Proposition__Group__2__Impl : ( 'value' ) ; public final void rule__Proposition__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7579:1: ( ( 'value' ) ) // InternalGames.g:7580:1: ( 'value' ) { // InternalGames.g:7580:1: ( 'value' ) // InternalGames.g:7581:2: 'value' { before(grammarAccess.getPropositionAccess().getValueKeyword_2()); match(input,61,FOLLOW_2); after(grammarAccess.getPropositionAccess().getValueKeyword_2()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__2__Impl" // $ANTLR start "rule__Proposition__Group__3" // InternalGames.g:7590:1: rule__Proposition__Group__3 : rule__Proposition__Group__3__Impl rule__Proposition__Group__4 ; public final void rule__Proposition__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7594:1: ( rule__Proposition__Group__3__Impl rule__Proposition__Group__4 ) // InternalGames.g:7595:2: rule__Proposition__Group__3__Impl rule__Proposition__Group__4 { pushFollow(FOLLOW_58); rule__Proposition__Group__3__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Proposition__Group__4(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__3" // $ANTLR start "rule__Proposition__Group__3__Impl" // InternalGames.g:7602:1: rule__Proposition__Group__3__Impl : ( ( rule__Proposition__ValueAssignment_3 ) ) ; public final void rule__Proposition__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7606:1: ( ( ( rule__Proposition__ValueAssignment_3 ) ) ) // InternalGames.g:7607:1: ( ( rule__Proposition__ValueAssignment_3 ) ) { // InternalGames.g:7607:1: ( ( rule__Proposition__ValueAssignment_3 ) ) // InternalGames.g:7608:2: ( rule__Proposition__ValueAssignment_3 ) { before(grammarAccess.getPropositionAccess().getValueAssignment_3()); // InternalGames.g:7609:2: ( rule__Proposition__ValueAssignment_3 ) // InternalGames.g:7609:3: rule__Proposition__ValueAssignment_3 { pushFollow(FOLLOW_2); rule__Proposition__ValueAssignment_3(); state._fsp--; } after(grammarAccess.getPropositionAccess().getValueAssignment_3()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__3__Impl" // $ANTLR start "rule__Proposition__Group__4" // InternalGames.g:7617:1: rule__Proposition__Group__4 : rule__Proposition__Group__4__Impl rule__Proposition__Group__5 ; public final void rule__Proposition__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7621:1: ( rule__Proposition__Group__4__Impl rule__Proposition__Group__5 ) // InternalGames.g:7622:2: rule__Proposition__Group__4__Impl rule__Proposition__Group__5 { pushFollow(FOLLOW_53); rule__Proposition__Group__4__Impl(); state._fsp--; pushFollow(FOLLOW_2); rule__Proposition__Group__5(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__4" // $ANTLR start "rule__Proposition__Group__4__Impl" // InternalGames.g:7629:1: rule__Proposition__Group__4__Impl : ( ( rule__Proposition__ActAssignment_4 ) ) ; public final void rule__Proposition__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7633:1: ( ( ( rule__Proposition__ActAssignment_4 ) ) ) // InternalGames.g:7634:1: ( ( rule__Proposition__ActAssignment_4 ) ) { // InternalGames.g:7634:1: ( ( rule__Proposition__ActAssignment_4 ) ) // InternalGames.g:7635:2: ( rule__Proposition__ActAssignment_4 ) { before(grammarAccess.getPropositionAccess().getActAssignment_4()); // InternalGames.g:7636:2: ( rule__Proposition__ActAssignment_4 ) // InternalGames.g:7636:3: rule__Proposition__ActAssignment_4 { pushFollow(FOLLOW_2); rule__Proposition__ActAssignment_4(); state._fsp--; } after(grammarAccess.getPropositionAccess().getActAssignment_4()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__4__Impl" // $ANTLR start "rule__Proposition__Group__5" // InternalGames.g:7644:1: rule__Proposition__Group__5 : rule__Proposition__Group__5__Impl ; public final void rule__Proposition__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7648:1: ( rule__Proposition__Group__5__Impl ) // InternalGames.g:7649:2: rule__Proposition__Group__5__Impl { pushFollow(FOLLOW_2); rule__Proposition__Group__5__Impl(); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__5" // $ANTLR start "rule__Proposition__Group__5__Impl" // InternalGames.g:7655:1: rule__Proposition__Group__5__Impl : ( '}' ) ; public final void rule__Proposition__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7659:1: ( ( '}' ) ) // InternalGames.g:7660:1: ( '}' ) { // InternalGames.g:7660:1: ( '}' ) // InternalGames.g:7661:2: '}' { before(grammarAccess.getPropositionAccess().getRightCurlyBracketKeyword_5()); match(input,32,FOLLOW_2); after(grammarAccess.getPropositionAccess().getRightCurlyBracketKeyword_5()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__Group__5__Impl" // $ANTLR start "rule__Game__NameAssignment_1" // InternalGames.g:7671:1: rule__Game__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Game__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7675:1: ( ( RULE_ID ) ) // InternalGames.g:7676:2: ( RULE_ID ) { // InternalGames.g:7676:2: ( RULE_ID ) // InternalGames.g:7677:3: RULE_ID { before(grammarAccess.getGameAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getGameAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__NameAssignment_1" // $ANTLR start "rule__Game__PlayerAssignment_3" // InternalGames.g:7686:1: rule__Game__PlayerAssignment_3 : ( rulePlayer ) ; public final void rule__Game__PlayerAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7690:1: ( ( rulePlayer ) ) // InternalGames.g:7691:2: ( rulePlayer ) { // InternalGames.g:7691:2: ( rulePlayer ) // InternalGames.g:7692:3: rulePlayer { before(grammarAccess.getGameAccess().getPlayerPlayerParserRuleCall_3_0()); pushFollow(FOLLOW_2); rulePlayer(); state._fsp--; after(grammarAccess.getGameAccess().getPlayerPlayerParserRuleCall_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PlayerAssignment_3" // $ANTLR start "rule__Game__PlacesAssignment_6" // InternalGames.g:7701:1: rule__Game__PlacesAssignment_6 : ( rulePlace ) ; public final void rule__Game__PlacesAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7705:1: ( ( rulePlace ) ) // InternalGames.g:7706:2: ( rulePlace ) { // InternalGames.g:7706:2: ( rulePlace ) // InternalGames.g:7707:3: rulePlace { before(grammarAccess.getGameAccess().getPlacesPlaceParserRuleCall_6_0()); pushFollow(FOLLOW_2); rulePlace(); state._fsp--; after(grammarAccess.getGameAccess().getPlacesPlaceParserRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PlacesAssignment_6" // $ANTLR start "rule__Game__PlacesAssignment_7_1" // InternalGames.g:7716:1: rule__Game__PlacesAssignment_7_1 : ( rulePlace ) ; public final void rule__Game__PlacesAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7720:1: ( ( rulePlace ) ) // InternalGames.g:7721:2: ( rulePlace ) { // InternalGames.g:7721:2: ( rulePlace ) // InternalGames.g:7722:3: rulePlace { before(grammarAccess.getGameAccess().getPlacesPlaceParserRuleCall_7_1_0()); pushFollow(FOLLOW_2); rulePlace(); state._fsp--; after(grammarAccess.getGameAccess().getPlacesPlaceParserRuleCall_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PlacesAssignment_7_1" // $ANTLR start "rule__Game__KnowledgeAssignment_9_2" // InternalGames.g:7731:1: rule__Game__KnowledgeAssignment_9_2 : ( ruleKnowledge ) ; public final void rule__Game__KnowledgeAssignment_9_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7735:1: ( ( ruleKnowledge ) ) // InternalGames.g:7736:2: ( ruleKnowledge ) { // InternalGames.g:7736:2: ( ruleKnowledge ) // InternalGames.g:7737:3: ruleKnowledge { before(grammarAccess.getGameAccess().getKnowledgeKnowledgeParserRuleCall_9_2_0()); pushFollow(FOLLOW_2); ruleKnowledge(); state._fsp--; after(grammarAccess.getGameAccess().getKnowledgeKnowledgeParserRuleCall_9_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__KnowledgeAssignment_9_2" // $ANTLR start "rule__Game__KnowledgeAssignment_9_3_1" // InternalGames.g:7746:1: rule__Game__KnowledgeAssignment_9_3_1 : ( ruleKnowledge ) ; public final void rule__Game__KnowledgeAssignment_9_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7750:1: ( ( ruleKnowledge ) ) // InternalGames.g:7751:2: ( ruleKnowledge ) { // InternalGames.g:7751:2: ( ruleKnowledge ) // InternalGames.g:7752:3: ruleKnowledge { before(grammarAccess.getGameAccess().getKnowledgeKnowledgeParserRuleCall_9_3_1_0()); pushFollow(FOLLOW_2); ruleKnowledge(); state._fsp--; after(grammarAccess.getGameAccess().getKnowledgeKnowledgeParserRuleCall_9_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__KnowledgeAssignment_9_3_1" // $ANTLR start "rule__Game__PeopleAssignment_12" // InternalGames.g:7761:1: rule__Game__PeopleAssignment_12 : ( rulePeople ) ; public final void rule__Game__PeopleAssignment_12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7765:1: ( ( rulePeople ) ) // InternalGames.g:7766:2: ( rulePeople ) { // InternalGames.g:7766:2: ( rulePeople ) // InternalGames.g:7767:3: rulePeople { before(grammarAccess.getGameAccess().getPeoplePeopleParserRuleCall_12_0()); pushFollow(FOLLOW_2); rulePeople(); state._fsp--; after(grammarAccess.getGameAccess().getPeoplePeopleParserRuleCall_12_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PeopleAssignment_12" // $ANTLR start "rule__Game__PeopleAssignment_13_1" // InternalGames.g:7776:1: rule__Game__PeopleAssignment_13_1 : ( rulePeople ) ; public final void rule__Game__PeopleAssignment_13_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7780:1: ( ( rulePeople ) ) // InternalGames.g:7781:2: ( rulePeople ) { // InternalGames.g:7781:2: ( rulePeople ) // InternalGames.g:7782:3: rulePeople { before(grammarAccess.getGameAccess().getPeoplePeopleParserRuleCall_13_1_0()); pushFollow(FOLLOW_2); rulePeople(); state._fsp--; after(grammarAccess.getGameAccess().getPeoplePeopleParserRuleCall_13_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PeopleAssignment_13_1" // $ANTLR start "rule__Game__ItemsAssignment_15_2" // InternalGames.g:7791:1: rule__Game__ItemsAssignment_15_2 : ( ruleItem ) ; public final void rule__Game__ItemsAssignment_15_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7795:1: ( ( ruleItem ) ) // InternalGames.g:7796:2: ( ruleItem ) { // InternalGames.g:7796:2: ( ruleItem ) // InternalGames.g:7797:3: ruleItem { before(grammarAccess.getGameAccess().getItemsItemParserRuleCall_15_2_0()); pushFollow(FOLLOW_2); ruleItem(); state._fsp--; after(grammarAccess.getGameAccess().getItemsItemParserRuleCall_15_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__ItemsAssignment_15_2" // $ANTLR start "rule__Game__ItemsAssignment_15_3_1" // InternalGames.g:7806:1: rule__Game__ItemsAssignment_15_3_1 : ( ruleItem ) ; public final void rule__Game__ItemsAssignment_15_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7810:1: ( ( ruleItem ) ) // InternalGames.g:7811:2: ( ruleItem ) { // InternalGames.g:7811:2: ( ruleItem ) // InternalGames.g:7812:3: ruleItem { before(grammarAccess.getGameAccess().getItemsItemParserRuleCall_15_3_1_0()); pushFollow(FOLLOW_2); ruleItem(); state._fsp--; after(grammarAccess.getGameAccess().getItemsItemParserRuleCall_15_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__ItemsAssignment_15_3_1" // $ANTLR start "rule__Game__PathAssignment_18" // InternalGames.g:7821:1: rule__Game__PathAssignment_18 : ( rulePath ) ; public final void rule__Game__PathAssignment_18() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7825:1: ( ( rulePath ) ) // InternalGames.g:7826:2: ( rulePath ) { // InternalGames.g:7826:2: ( rulePath ) // InternalGames.g:7827:3: rulePath { before(grammarAccess.getGameAccess().getPathPathParserRuleCall_18_0()); pushFollow(FOLLOW_2); rulePath(); state._fsp--; after(grammarAccess.getGameAccess().getPathPathParserRuleCall_18_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PathAssignment_18" // $ANTLR start "rule__Game__PathAssignment_19_1" // InternalGames.g:7836:1: rule__Game__PathAssignment_19_1 : ( rulePath ) ; public final void rule__Game__PathAssignment_19_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7840:1: ( ( rulePath ) ) // InternalGames.g:7841:2: ( rulePath ) { // InternalGames.g:7841:2: ( rulePath ) // InternalGames.g:7842:3: rulePath { before(grammarAccess.getGameAccess().getPathPathParserRuleCall_19_1_0()); pushFollow(FOLLOW_2); rulePath(); state._fsp--; after(grammarAccess.getGameAccess().getPathPathParserRuleCall_19_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__PathAssignment_19_1" // $ANTLR start "rule__Game__RecipesAssignment_21_2" // InternalGames.g:7851:1: rule__Game__RecipesAssignment_21_2 : ( ruleRecipe ) ; public final void rule__Game__RecipesAssignment_21_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7855:1: ( ( ruleRecipe ) ) // InternalGames.g:7856:2: ( ruleRecipe ) { // InternalGames.g:7856:2: ( ruleRecipe ) // InternalGames.g:7857:3: ruleRecipe { before(grammarAccess.getGameAccess().getRecipesRecipeParserRuleCall_21_2_0()); pushFollow(FOLLOW_2); ruleRecipe(); state._fsp--; after(grammarAccess.getGameAccess().getRecipesRecipeParserRuleCall_21_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__RecipesAssignment_21_2" // $ANTLR start "rule__Game__RecipesAssignment_21_3_1" // InternalGames.g:7866:1: rule__Game__RecipesAssignment_21_3_1 : ( ruleRecipe ) ; public final void rule__Game__RecipesAssignment_21_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7870:1: ( ( ruleRecipe ) ) // InternalGames.g:7871:2: ( ruleRecipe ) { // InternalGames.g:7871:2: ( ruleRecipe ) // InternalGames.g:7872:3: ruleRecipe { before(grammarAccess.getGameAccess().getRecipesRecipeParserRuleCall_21_3_1_0()); pushFollow(FOLLOW_2); ruleRecipe(); state._fsp--; after(grammarAccess.getGameAccess().getRecipesRecipeParserRuleCall_21_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__RecipesAssignment_21_3_1" // $ANTLR start "rule__Game__StartPlaceAssignment_23" // InternalGames.g:7881:1: rule__Game__StartPlaceAssignment_23 : ( ( RULE_ID ) ) ; public final void rule__Game__StartPlaceAssignment_23() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7885:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:7886:2: ( ( RULE_ID ) ) { // InternalGames.g:7886:2: ( ( RULE_ID ) ) // InternalGames.g:7887:3: ( RULE_ID ) { before(grammarAccess.getGameAccess().getStartPlacePlaceCrossReference_23_0()); // InternalGames.g:7888:3: ( RULE_ID ) // InternalGames.g:7889:4: RULE_ID { before(grammarAccess.getGameAccess().getStartPlacePlaceIDTerminalRuleCall_23_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getGameAccess().getStartPlacePlaceIDTerminalRuleCall_23_0_1()); } after(grammarAccess.getGameAccess().getStartPlacePlaceCrossReference_23_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__StartPlaceAssignment_23" // $ANTLR start "rule__Game__EndPlaceAssignment_25" // InternalGames.g:7900:1: rule__Game__EndPlaceAssignment_25 : ( ( RULE_ID ) ) ; public final void rule__Game__EndPlaceAssignment_25() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7904:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:7905:2: ( ( RULE_ID ) ) { // InternalGames.g:7905:2: ( ( RULE_ID ) ) // InternalGames.g:7906:3: ( RULE_ID ) { before(grammarAccess.getGameAccess().getEndPlacePlaceCrossReference_25_0()); // InternalGames.g:7907:3: ( RULE_ID ) // InternalGames.g:7908:4: RULE_ID { before(grammarAccess.getGameAccess().getEndPlacePlaceIDTerminalRuleCall_25_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getGameAccess().getEndPlacePlaceIDTerminalRuleCall_25_0_1()); } after(grammarAccess.getGameAccess().getEndPlacePlaceCrossReference_25_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__EndPlaceAssignment_25" // $ANTLR start "rule__Game__DifficultyAssignment_26" // InternalGames.g:7919:1: rule__Game__DifficultyAssignment_26 : ( ruleDifficulty ) ; public final void rule__Game__DifficultyAssignment_26() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7923:1: ( ( ruleDifficulty ) ) // InternalGames.g:7924:2: ( ruleDifficulty ) { // InternalGames.g:7924:2: ( ruleDifficulty ) // InternalGames.g:7925:3: ruleDifficulty { before(grammarAccess.getGameAccess().getDifficultyDifficultyParserRuleCall_26_0()); pushFollow(FOLLOW_2); ruleDifficulty(); state._fsp--; after(grammarAccess.getGameAccess().getDifficultyDifficultyParserRuleCall_26_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Game__DifficultyAssignment_26" // $ANTLR start "rule__Difficulty__LvlAssignment_1" // InternalGames.g:7934:1: rule__Difficulty__LvlAssignment_1 : ( RULE_INT ) ; public final void rule__Difficulty__LvlAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7938:1: ( ( RULE_INT ) ) // InternalGames.g:7939:2: ( RULE_INT ) { // InternalGames.g:7939:2: ( RULE_INT ) // InternalGames.g:7940:3: RULE_INT { before(grammarAccess.getDifficultyAccess().getLvlINTTerminalRuleCall_1_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getLvlINTTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__LvlAssignment_1" // $ANTLR start "rule__Difficulty__SizeMaxAssignment_4" // InternalGames.g:7949:1: rule__Difficulty__SizeMaxAssignment_4 : ( RULE_INT ) ; public final void rule__Difficulty__SizeMaxAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7953:1: ( ( RULE_INT ) ) // InternalGames.g:7954:2: ( RULE_INT ) { // InternalGames.g:7954:2: ( RULE_INT ) // InternalGames.g:7955:3: RULE_INT { before(grammarAccess.getDifficultyAccess().getSizeMaxINTTerminalRuleCall_4_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getSizeMaxINTTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__SizeMaxAssignment_4" // $ANTLR start "rule__Difficulty__ItemsAssignment_5_2" // InternalGames.g:7964:1: rule__Difficulty__ItemsAssignment_5_2 : ( ruleItemInSomething ) ; public final void rule__Difficulty__ItemsAssignment_5_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7968:1: ( ( ruleItemInSomething ) ) // InternalGames.g:7969:2: ( ruleItemInSomething ) { // InternalGames.g:7969:2: ( ruleItemInSomething ) // InternalGames.g:7970:3: ruleItemInSomething { before(grammarAccess.getDifficultyAccess().getItemsItemInSomethingParserRuleCall_5_2_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getDifficultyAccess().getItemsItemInSomethingParserRuleCall_5_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__ItemsAssignment_5_2" // $ANTLR start "rule__Difficulty__ItemsAssignment_5_3_1" // InternalGames.g:7979:1: rule__Difficulty__ItemsAssignment_5_3_1 : ( ruleItemInSomething ) ; public final void rule__Difficulty__ItemsAssignment_5_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7983:1: ( ( ruleItemInSomething ) ) // InternalGames.g:7984:2: ( ruleItemInSomething ) { // InternalGames.g:7984:2: ( ruleItemInSomething ) // InternalGames.g:7985:3: ruleItemInSomething { before(grammarAccess.getDifficultyAccess().getItemsItemInSomethingParserRuleCall_5_3_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getDifficultyAccess().getItemsItemInSomethingParserRuleCall_5_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__ItemsAssignment_5_3_1" // $ANTLR start "rule__Difficulty__KnowledgesAssignment_6_1" // InternalGames.g:7994:1: rule__Difficulty__KnowledgesAssignment_6_1 : ( ( RULE_ID ) ) ; public final void rule__Difficulty__KnowledgesAssignment_6_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:7998:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:7999:2: ( ( RULE_ID ) ) { // InternalGames.g:7999:2: ( ( RULE_ID ) ) // InternalGames.g:8000:3: ( RULE_ID ) { before(grammarAccess.getDifficultyAccess().getKnowledgesKnowledgeCrossReference_6_1_0()); // InternalGames.g:8001:3: ( RULE_ID ) // InternalGames.g:8002:4: RULE_ID { before(grammarAccess.getDifficultyAccess().getKnowledgesKnowledgeIDTerminalRuleCall_6_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getDifficultyAccess().getKnowledgesKnowledgeIDTerminalRuleCall_6_1_0_1()); } after(grammarAccess.getDifficultyAccess().getKnowledgesKnowledgeCrossReference_6_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Difficulty__KnowledgesAssignment_6_1" // $ANTLR start "rule__Player__NameAssignment_1" // InternalGames.g:8013:1: rule__Player__NameAssignment_1 : ( RULE_STRING ) ; public final void rule__Player__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8017:1: ( ( RULE_STRING ) ) // InternalGames.g:8018:2: ( RULE_STRING ) { // InternalGames.g:8018:2: ( RULE_STRING ) // InternalGames.g:8019:3: RULE_STRING { before(grammarAccess.getPlayerAccess().getNameSTRINGTerminalRuleCall_1_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getPlayerAccess().getNameSTRINGTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__NameAssignment_1" // $ANTLR start "rule__Player__ItemsAssignment_3_1" // InternalGames.g:8028:1: rule__Player__ItemsAssignment_3_1 : ( ruleItemInSomething ) ; public final void rule__Player__ItemsAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8032:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8033:2: ( ruleItemInSomething ) { // InternalGames.g:8033:2: ( ruleItemInSomething ) // InternalGames.g:8034:3: ruleItemInSomething { before(grammarAccess.getPlayerAccess().getItemsItemInSomethingParserRuleCall_3_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getPlayerAccess().getItemsItemInSomethingParserRuleCall_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__ItemsAssignment_3_1" // $ANTLR start "rule__Player__KnowledgeAssignment_4_1" // InternalGames.g:8043:1: rule__Player__KnowledgeAssignment_4_1 : ( ( RULE_ID ) ) ; public final void rule__Player__KnowledgeAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8047:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8048:2: ( ( RULE_ID ) ) { // InternalGames.g:8048:2: ( ( RULE_ID ) ) // InternalGames.g:8049:3: ( RULE_ID ) { before(grammarAccess.getPlayerAccess().getKnowledgeKnowledgeCrossReference_4_1_0()); // InternalGames.g:8050:3: ( RULE_ID ) // InternalGames.g:8051:4: RULE_ID { before(grammarAccess.getPlayerAccess().getKnowledgeKnowledgeIDTerminalRuleCall_4_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPlayerAccess().getKnowledgeKnowledgeIDTerminalRuleCall_4_1_0_1()); } after(grammarAccess.getPlayerAccess().getKnowledgeKnowledgeCrossReference_4_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Player__KnowledgeAssignment_4_1" // $ANTLR start "rule__People__NameAssignment_1" // InternalGames.g:8062:1: rule__People__NameAssignment_1 : ( RULE_ID ) ; public final void rule__People__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8066:1: ( ( RULE_ID ) ) // InternalGames.g:8067:2: ( RULE_ID ) { // InternalGames.g:8067:2: ( RULE_ID ) // InternalGames.g:8068:3: RULE_ID { before(grammarAccess.getPeopleAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPeopleAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__NameAssignment_1" // $ANTLR start "rule__People__DescriptionAssignment_4" // InternalGames.g:8077:1: rule__People__DescriptionAssignment_4 : ( RULE_STRING ) ; public final void rule__People__DescriptionAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8081:1: ( ( RULE_STRING ) ) // InternalGames.g:8082:2: ( RULE_STRING ) { // InternalGames.g:8082:2: ( RULE_STRING ) // InternalGames.g:8083:3: RULE_STRING { before(grammarAccess.getPeopleAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getPeopleAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__DescriptionAssignment_4" // $ANTLR start "rule__People__VisibleAssignment_6" // InternalGames.g:8092:1: rule__People__VisibleAssignment_6 : ( RULE_INT ) ; public final void rule__People__VisibleAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8096:1: ( ( RULE_INT ) ) // InternalGames.g:8097:2: ( RULE_INT ) { // InternalGames.g:8097:2: ( RULE_INT ) // InternalGames.g:8098:3: RULE_INT { before(grammarAccess.getPeopleAccess().getVisibleINTTerminalRuleCall_6_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPeopleAccess().getVisibleINTTerminalRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__VisibleAssignment_6" // $ANTLR start "rule__People__ConditionsVisibleAssignment_7_1" // InternalGames.g:8107:1: rule__People__ConditionsVisibleAssignment_7_1 : ( ruleCondition ) ; public final void rule__People__ConditionsVisibleAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8111:1: ( ( ruleCondition ) ) // InternalGames.g:8112:2: ( ruleCondition ) { // InternalGames.g:8112:2: ( ruleCondition ) // InternalGames.g:8113:3: ruleCondition { before(grammarAccess.getPeopleAccess().getConditionsVisibleConditionParserRuleCall_7_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getPeopleAccess().getConditionsVisibleConditionParserRuleCall_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__ConditionsVisibleAssignment_7_1" // $ANTLR start "rule__People__ActiveAssignment_9" // InternalGames.g:8122:1: rule__People__ActiveAssignment_9 : ( RULE_INT ) ; public final void rule__People__ActiveAssignment_9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8126:1: ( ( RULE_INT ) ) // InternalGames.g:8127:2: ( RULE_INT ) { // InternalGames.g:8127:2: ( RULE_INT ) // InternalGames.g:8128:3: RULE_INT { before(grammarAccess.getPeopleAccess().getActiveINTTerminalRuleCall_9_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPeopleAccess().getActiveINTTerminalRuleCall_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__ActiveAssignment_9" // $ANTLR start "rule__People__ConditionsActiveAssignment_10_1" // InternalGames.g:8137:1: rule__People__ConditionsActiveAssignment_10_1 : ( ruleCondition ) ; public final void rule__People__ConditionsActiveAssignment_10_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8141:1: ( ( ruleCondition ) ) // InternalGames.g:8142:2: ( ruleCondition ) { // InternalGames.g:8142:2: ( ruleCondition ) // InternalGames.g:8143:3: ruleCondition { before(grammarAccess.getPeopleAccess().getConditionsActiveConditionParserRuleCall_10_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getPeopleAccess().getConditionsActiveConditionParserRuleCall_10_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__ConditionsActiveAssignment_10_1" // $ANTLR start "rule__People__IsMandatoryAssignment_12" // InternalGames.g:8152:1: rule__People__IsMandatoryAssignment_12 : ( RULE_INT ) ; public final void rule__People__IsMandatoryAssignment_12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8156:1: ( ( RULE_INT ) ) // InternalGames.g:8157:2: ( RULE_INT ) { // InternalGames.g:8157:2: ( RULE_INT ) // InternalGames.g:8158:3: RULE_INT { before(grammarAccess.getPeopleAccess().getIsMandatoryINTTerminalRuleCall_12_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPeopleAccess().getIsMandatoryINTTerminalRuleCall_12_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__IsMandatoryAssignment_12" // $ANTLR start "rule__People__InteractionAssignment_13" // InternalGames.g:8167:1: rule__People__InteractionAssignment_13 : ( ruleInteraction ) ; public final void rule__People__InteractionAssignment_13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8171:1: ( ( ruleInteraction ) ) // InternalGames.g:8172:2: ( ruleInteraction ) { // InternalGames.g:8172:2: ( ruleInteraction ) // InternalGames.g:8173:3: ruleInteraction { before(grammarAccess.getPeopleAccess().getInteractionInteractionParserRuleCall_13_0()); pushFollow(FOLLOW_2); ruleInteraction(); state._fsp--; after(grammarAccess.getPeopleAccess().getInteractionInteractionParserRuleCall_13_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__People__InteractionAssignment_13" // $ANTLR start "rule__Path__NameAssignment_1" // InternalGames.g:8182:1: rule__Path__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Path__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8186:1: ( ( RULE_ID ) ) // InternalGames.g:8187:2: ( RULE_ID ) { // InternalGames.g:8187:2: ( RULE_ID ) // InternalGames.g:8188:3: RULE_ID { before(grammarAccess.getPathAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPathAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__NameAssignment_1" // $ANTLR start "rule__Path__DescriptionAssignment_4" // InternalGames.g:8197:1: rule__Path__DescriptionAssignment_4 : ( RULE_STRING ) ; public final void rule__Path__DescriptionAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8201:1: ( ( RULE_STRING ) ) // InternalGames.g:8202:2: ( RULE_STRING ) { // InternalGames.g:8202:2: ( RULE_STRING ) // InternalGames.g:8203:3: RULE_STRING { before(grammarAccess.getPathAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getPathAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__DescriptionAssignment_4" // $ANTLR start "rule__Path__VisibleAssignment_6" // InternalGames.g:8212:1: rule__Path__VisibleAssignment_6 : ( RULE_INT ) ; public final void rule__Path__VisibleAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8216:1: ( ( RULE_INT ) ) // InternalGames.g:8217:2: ( RULE_INT ) { // InternalGames.g:8217:2: ( RULE_INT ) // InternalGames.g:8218:3: RULE_INT { before(grammarAccess.getPathAccess().getVisibleINTTerminalRuleCall_6_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPathAccess().getVisibleINTTerminalRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__VisibleAssignment_6" // $ANTLR start "rule__Path__ConditionVisibleAssignment_7_1" // InternalGames.g:8227:1: rule__Path__ConditionVisibleAssignment_7_1 : ( ruleCondition ) ; public final void rule__Path__ConditionVisibleAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8231:1: ( ( ruleCondition ) ) // InternalGames.g:8232:2: ( ruleCondition ) { // InternalGames.g:8232:2: ( ruleCondition ) // InternalGames.g:8233:3: ruleCondition { before(grammarAccess.getPathAccess().getConditionVisibleConditionParserRuleCall_7_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getPathAccess().getConditionVisibleConditionParserRuleCall_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__ConditionVisibleAssignment_7_1" // $ANTLR start "rule__Path__EndPlaceAssignment_9" // InternalGames.g:8242:1: rule__Path__EndPlaceAssignment_9 : ( ( RULE_ID ) ) ; public final void rule__Path__EndPlaceAssignment_9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8246:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8247:2: ( ( RULE_ID ) ) { // InternalGames.g:8247:2: ( ( RULE_ID ) ) // InternalGames.g:8248:3: ( RULE_ID ) { before(grammarAccess.getPathAccess().getEndPlacePlaceCrossReference_9_0()); // InternalGames.g:8249:3: ( RULE_ID ) // InternalGames.g:8250:4: RULE_ID { before(grammarAccess.getPathAccess().getEndPlacePlaceIDTerminalRuleCall_9_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPathAccess().getEndPlacePlaceIDTerminalRuleCall_9_0_1()); } after(grammarAccess.getPathAccess().getEndPlacePlaceCrossReference_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__EndPlaceAssignment_9" // $ANTLR start "rule__Path__IsOpenAssignment_11" // InternalGames.g:8261:1: rule__Path__IsOpenAssignment_11 : ( RULE_INT ) ; public final void rule__Path__IsOpenAssignment_11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8265:1: ( ( RULE_INT ) ) // InternalGames.g:8266:2: ( RULE_INT ) { // InternalGames.g:8266:2: ( RULE_INT ) // InternalGames.g:8267:3: RULE_INT { before(grammarAccess.getPathAccess().getIsOpenINTTerminalRuleCall_11_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPathAccess().getIsOpenINTTerminalRuleCall_11_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__IsOpenAssignment_11" // $ANTLR start "rule__Path__ConditionsOpeningAssignment_12_1" // InternalGames.g:8276:1: rule__Path__ConditionsOpeningAssignment_12_1 : ( ruleCondition ) ; public final void rule__Path__ConditionsOpeningAssignment_12_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8280:1: ( ( ruleCondition ) ) // InternalGames.g:8281:2: ( ruleCondition ) { // InternalGames.g:8281:2: ( ruleCondition ) // InternalGames.g:8282:3: ruleCondition { before(grammarAccess.getPathAccess().getConditionsOpeningConditionParserRuleCall_12_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getPathAccess().getConditionsOpeningConditionParserRuleCall_12_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__ConditionsOpeningAssignment_12_1" // $ANTLR start "rule__Path__IsMandatoryAssignment_14" // InternalGames.g:8291:1: rule__Path__IsMandatoryAssignment_14 : ( RULE_INT ) ; public final void rule__Path__IsMandatoryAssignment_14() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8295:1: ( ( RULE_INT ) ) // InternalGames.g:8296:2: ( RULE_INT ) { // InternalGames.g:8296:2: ( RULE_INT ) // InternalGames.g:8297:3: RULE_INT { before(grammarAccess.getPathAccess().getIsMandatoryINTTerminalRuleCall_14_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getPathAccess().getIsMandatoryINTTerminalRuleCall_14_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__IsMandatoryAssignment_14" // $ANTLR start "rule__Path__KnowledgeGivenAssignment_15_1" // InternalGames.g:8306:1: rule__Path__KnowledgeGivenAssignment_15_1 : ( ( RULE_ID ) ) ; public final void rule__Path__KnowledgeGivenAssignment_15_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8310:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8311:2: ( ( RULE_ID ) ) { // InternalGames.g:8311:2: ( ( RULE_ID ) ) // InternalGames.g:8312:3: ( RULE_ID ) { before(grammarAccess.getPathAccess().getKnowledgeGivenKnowledgeCrossReference_15_1_0()); // InternalGames.g:8313:3: ( RULE_ID ) // InternalGames.g:8314:4: RULE_ID { before(grammarAccess.getPathAccess().getKnowledgeGivenKnowledgeIDTerminalRuleCall_15_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPathAccess().getKnowledgeGivenKnowledgeIDTerminalRuleCall_15_1_0_1()); } after(grammarAccess.getPathAccess().getKnowledgeGivenKnowledgeCrossReference_15_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__KnowledgeGivenAssignment_15_1" // $ANTLR start "rule__Path__ItemsGivenAssignment_16_1" // InternalGames.g:8325:1: rule__Path__ItemsGivenAssignment_16_1 : ( ruleItemInSomething ) ; public final void rule__Path__ItemsGivenAssignment_16_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8329:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8330:2: ( ruleItemInSomething ) { // InternalGames.g:8330:2: ( ruleItemInSomething ) // InternalGames.g:8331:3: ruleItemInSomething { before(grammarAccess.getPathAccess().getItemsGivenItemInSomethingParserRuleCall_16_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getPathAccess().getItemsGivenItemInSomethingParserRuleCall_16_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__ItemsGivenAssignment_16_1" // $ANTLR start "rule__Path__ItemsConsumedAssignment_17_1" // InternalGames.g:8340:1: rule__Path__ItemsConsumedAssignment_17_1 : ( ruleItemInSomething ) ; public final void rule__Path__ItemsConsumedAssignment_17_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8344:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8345:2: ( ruleItemInSomething ) { // InternalGames.g:8345:2: ( ruleItemInSomething ) // InternalGames.g:8346:3: ruleItemInSomething { before(grammarAccess.getPathAccess().getItemsConsumedItemInSomethingParserRuleCall_17_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getPathAccess().getItemsConsumedItemInSomethingParserRuleCall_17_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Path__ItemsConsumedAssignment_17_1" // $ANTLR start "rule__Item__NameAssignment_1" // InternalGames.g:8355:1: rule__Item__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Item__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8359:1: ( ( RULE_ID ) ) // InternalGames.g:8360:2: ( RULE_ID ) { // InternalGames.g:8360:2: ( RULE_ID ) // InternalGames.g:8361:3: RULE_ID { before(grammarAccess.getItemAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getItemAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__NameAssignment_1" // $ANTLR start "rule__Item__SizeAssignment_4" // InternalGames.g:8370:1: rule__Item__SizeAssignment_4 : ( RULE_INT ) ; public final void rule__Item__SizeAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8374:1: ( ( RULE_INT ) ) // InternalGames.g:8375:2: ( RULE_INT ) { // InternalGames.g:8375:2: ( RULE_INT ) // InternalGames.g:8376:3: RULE_INT { before(grammarAccess.getItemAccess().getSizeINTTerminalRuleCall_4_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemAccess().getSizeINTTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__SizeAssignment_4" // $ANTLR start "rule__Item__DescriptionAssignment_6" // InternalGames.g:8385:1: rule__Item__DescriptionAssignment_6 : ( RULE_STRING ) ; public final void rule__Item__DescriptionAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8389:1: ( ( RULE_STRING ) ) // InternalGames.g:8390:2: ( RULE_STRING ) { // InternalGames.g:8390:2: ( RULE_STRING ) // InternalGames.g:8391:3: RULE_STRING { before(grammarAccess.getItemAccess().getDescriptionSTRINGTerminalRuleCall_6_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getItemAccess().getDescriptionSTRINGTerminalRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__DescriptionAssignment_6" // $ANTLR start "rule__Item__VisibleAssignment_8" // InternalGames.g:8400:1: rule__Item__VisibleAssignment_8 : ( RULE_INT ) ; public final void rule__Item__VisibleAssignment_8() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8404:1: ( ( RULE_INT ) ) // InternalGames.g:8405:2: ( RULE_INT ) { // InternalGames.g:8405:2: ( RULE_INT ) // InternalGames.g:8406:3: RULE_INT { before(grammarAccess.getItemAccess().getVisibleINTTerminalRuleCall_8_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemAccess().getVisibleINTTerminalRuleCall_8_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__VisibleAssignment_8" // $ANTLR start "rule__Item__ConditionsVisibleAssignment_9_1" // InternalGames.g:8415:1: rule__Item__ConditionsVisibleAssignment_9_1 : ( ruleCondition ) ; public final void rule__Item__ConditionsVisibleAssignment_9_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8419:1: ( ( ruleCondition ) ) // InternalGames.g:8420:2: ( ruleCondition ) { // InternalGames.g:8420:2: ( ruleCondition ) // InternalGames.g:8421:3: ruleCondition { before(grammarAccess.getItemAccess().getConditionsVisibleConditionParserRuleCall_9_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getItemAccess().getConditionsVisibleConditionParserRuleCall_9_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ConditionsVisibleAssignment_9_1" // $ANTLR start "rule__Item__ActiveAssignment_11" // InternalGames.g:8430:1: rule__Item__ActiveAssignment_11 : ( RULE_INT ) ; public final void rule__Item__ActiveAssignment_11() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8434:1: ( ( RULE_INT ) ) // InternalGames.g:8435:2: ( RULE_INT ) { // InternalGames.g:8435:2: ( RULE_INT ) // InternalGames.g:8436:3: RULE_INT { before(grammarAccess.getItemAccess().getActiveINTTerminalRuleCall_11_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemAccess().getActiveINTTerminalRuleCall_11_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ActiveAssignment_11" // $ANTLR start "rule__Item__ConditionsActiveAssignment_13" // InternalGames.g:8445:1: rule__Item__ConditionsActiveAssignment_13 : ( ruleCondition ) ; public final void rule__Item__ConditionsActiveAssignment_13() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8449:1: ( ( ruleCondition ) ) // InternalGames.g:8450:2: ( ruleCondition ) { // InternalGames.g:8450:2: ( ruleCondition ) // InternalGames.g:8451:3: ruleCondition { before(grammarAccess.getItemAccess().getConditionsActiveConditionParserRuleCall_13_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getItemAccess().getConditionsActiveConditionParserRuleCall_13_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ConditionsActiveAssignment_13" // $ANTLR start "rule__Item__CanPutDownAssignment_15" // InternalGames.g:8460:1: rule__Item__CanPutDownAssignment_15 : ( RULE_INT ) ; public final void rule__Item__CanPutDownAssignment_15() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8464:1: ( ( RULE_INT ) ) // InternalGames.g:8465:2: ( RULE_INT ) { // InternalGames.g:8465:2: ( RULE_INT ) // InternalGames.g:8466:3: RULE_INT { before(grammarAccess.getItemAccess().getCanPutDownINTTerminalRuleCall_15_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemAccess().getCanPutDownINTTerminalRuleCall_15_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__CanPutDownAssignment_15" // $ANTLR start "rule__Item__ConditionsPutDownAssignment_16_1" // InternalGames.g:8475:1: rule__Item__ConditionsPutDownAssignment_16_1 : ( ruleCondition ) ; public final void rule__Item__ConditionsPutDownAssignment_16_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8479:1: ( ( ruleCondition ) ) // InternalGames.g:8480:2: ( ruleCondition ) { // InternalGames.g:8480:2: ( ruleCondition ) // InternalGames.g:8481:3: ruleCondition { before(grammarAccess.getItemAccess().getConditionsPutDownConditionParserRuleCall_16_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getItemAccess().getConditionsPutDownConditionParserRuleCall_16_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ConditionsPutDownAssignment_16_1" // $ANTLR start "rule__Item__ConditionsGiveAssignment_17_1" // InternalGames.g:8490:1: rule__Item__ConditionsGiveAssignment_17_1 : ( ruleCondition ) ; public final void rule__Item__ConditionsGiveAssignment_17_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8494:1: ( ( ruleCondition ) ) // InternalGames.g:8495:2: ( ruleCondition ) { // InternalGames.g:8495:2: ( ruleCondition ) // InternalGames.g:8496:3: ruleCondition { before(grammarAccess.getItemAccess().getConditionsGiveConditionParserRuleCall_17_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getItemAccess().getConditionsGiveConditionParserRuleCall_17_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ConditionsGiveAssignment_17_1" // $ANTLR start "rule__Item__ConditionsConsumedAssignment_18_1" // InternalGames.g:8505:1: rule__Item__ConditionsConsumedAssignment_18_1 : ( ruleCondition ) ; public final void rule__Item__ConditionsConsumedAssignment_18_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8509:1: ( ( ruleCondition ) ) // InternalGames.g:8510:2: ( ruleCondition ) { // InternalGames.g:8510:2: ( ruleCondition ) // InternalGames.g:8511:3: ruleCondition { before(grammarAccess.getItemAccess().getConditionsConsumedConditionParserRuleCall_18_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getItemAccess().getConditionsConsumedConditionParserRuleCall_18_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Item__ConditionsConsumedAssignment_18_1" // $ANTLR start "rule__ItemInSomething__ItemAssignment_0" // InternalGames.g:8520:1: rule__ItemInSomething__ItemAssignment_0 : ( ( RULE_ID ) ) ; public final void rule__ItemInSomething__ItemAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8524:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8525:2: ( ( RULE_ID ) ) { // InternalGames.g:8525:2: ( ( RULE_ID ) ) // InternalGames.g:8526:3: ( RULE_ID ) { before(grammarAccess.getItemInSomethingAccess().getItemItemCrossReference_0_0()); // InternalGames.g:8527:3: ( RULE_ID ) // InternalGames.g:8528:4: RULE_ID { before(grammarAccess.getItemInSomethingAccess().getItemItemIDTerminalRuleCall_0_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getItemInSomethingAccess().getItemItemIDTerminalRuleCall_0_0_1()); } after(grammarAccess.getItemInSomethingAccess().getItemItemCrossReference_0_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__ItemAssignment_0" // $ANTLR start "rule__ItemInSomething__QuantiteAssignment_2" // InternalGames.g:8539:1: rule__ItemInSomething__QuantiteAssignment_2 : ( RULE_INT ) ; public final void rule__ItemInSomething__QuantiteAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8543:1: ( ( RULE_INT ) ) // InternalGames.g:8544:2: ( RULE_INT ) { // InternalGames.g:8544:2: ( RULE_INT ) // InternalGames.g:8545:3: RULE_INT { before(grammarAccess.getItemInSomethingAccess().getQuantiteINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemInSomethingAccess().getQuantiteINTTerminalRuleCall_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInSomething__QuantiteAssignment_2" // $ANTLR start "rule__Recipe__NameAssignment_1" // InternalGames.g:8554:1: rule__Recipe__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Recipe__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8558:1: ( ( RULE_ID ) ) // InternalGames.g:8559:2: ( RULE_ID ) { // InternalGames.g:8559:2: ( RULE_ID ) // InternalGames.g:8560:3: RULE_ID { before(grammarAccess.getRecipeAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getRecipeAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__NameAssignment_1" // $ANTLR start "rule__Recipe__ObjectsUsedAssignment_4" // InternalGames.g:8569:1: rule__Recipe__ObjectsUsedAssignment_4 : ( ruleItemInSomething ) ; public final void rule__Recipe__ObjectsUsedAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8573:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8574:2: ( ruleItemInSomething ) { // InternalGames.g:8574:2: ( ruleItemInSomething ) // InternalGames.g:8575:3: ruleItemInSomething { before(grammarAccess.getRecipeAccess().getObjectsUsedItemInSomethingParserRuleCall_4_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getRecipeAccess().getObjectsUsedItemInSomethingParserRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__ObjectsUsedAssignment_4" // $ANTLR start "rule__Recipe__ConditionsAssignment_5_1" // InternalGames.g:8584:1: rule__Recipe__ConditionsAssignment_5_1 : ( ruleCondition ) ; public final void rule__Recipe__ConditionsAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8588:1: ( ( ruleCondition ) ) // InternalGames.g:8589:2: ( ruleCondition ) { // InternalGames.g:8589:2: ( ruleCondition ) // InternalGames.g:8590:3: ruleCondition { before(grammarAccess.getRecipeAccess().getConditionsConditionParserRuleCall_5_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getRecipeAccess().getConditionsConditionParserRuleCall_5_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__ConditionsAssignment_5_1" // $ANTLR start "rule__Recipe__ItemsMadeAssignment_7" // InternalGames.g:8599:1: rule__Recipe__ItemsMadeAssignment_7 : ( ruleItemInSomething ) ; public final void rule__Recipe__ItemsMadeAssignment_7() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8603:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8604:2: ( ruleItemInSomething ) { // InternalGames.g:8604:2: ( ruleItemInSomething ) // InternalGames.g:8605:3: ruleItemInSomething { before(grammarAccess.getRecipeAccess().getItemsMadeItemInSomethingParserRuleCall_7_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getRecipeAccess().getItemsMadeItemInSomethingParserRuleCall_7_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Recipe__ItemsMadeAssignment_7" // $ANTLR start "rule__Knowledge__NameAssignment_1" // InternalGames.g:8614:1: rule__Knowledge__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Knowledge__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8618:1: ( ( RULE_ID ) ) // InternalGames.g:8619:2: ( RULE_ID ) { // InternalGames.g:8619:2: ( RULE_ID ) // InternalGames.g:8620:3: RULE_ID { before(grammarAccess.getKnowledgeAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__NameAssignment_1" // $ANTLR start "rule__Knowledge__DescriptionAssignment_4" // InternalGames.g:8629:1: rule__Knowledge__DescriptionAssignment_4 : ( RULE_STRING ) ; public final void rule__Knowledge__DescriptionAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8633:1: ( ( RULE_STRING ) ) // InternalGames.g:8634:2: ( RULE_STRING ) { // InternalGames.g:8634:2: ( RULE_STRING ) // InternalGames.g:8635:3: RULE_STRING { before(grammarAccess.getKnowledgeAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__DescriptionAssignment_4" // $ANTLR start "rule__Knowledge__VisibleAssignment_6" // InternalGames.g:8644:1: rule__Knowledge__VisibleAssignment_6 : ( RULE_INT ) ; public final void rule__Knowledge__VisibleAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8648:1: ( ( RULE_INT ) ) // InternalGames.g:8649:2: ( RULE_INT ) { // InternalGames.g:8649:2: ( RULE_INT ) // InternalGames.g:8650:3: RULE_INT { before(grammarAccess.getKnowledgeAccess().getVisibleINTTerminalRuleCall_6_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getVisibleINTTerminalRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__VisibleAssignment_6" // $ANTLR start "rule__Knowledge__ConditionsVisibleAssignment_7_1" // InternalGames.g:8659:1: rule__Knowledge__ConditionsVisibleAssignment_7_1 : ( ruleCondition ) ; public final void rule__Knowledge__ConditionsVisibleAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8663:1: ( ( ruleCondition ) ) // InternalGames.g:8664:2: ( ruleCondition ) { // InternalGames.g:8664:2: ( ruleCondition ) // InternalGames.g:8665:3: ruleCondition { before(grammarAccess.getKnowledgeAccess().getConditionsVisibleConditionParserRuleCall_7_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getKnowledgeAccess().getConditionsVisibleConditionParserRuleCall_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__ConditionsVisibleAssignment_7_1" // $ANTLR start "rule__Knowledge__ActiveAssignment_9" // InternalGames.g:8674:1: rule__Knowledge__ActiveAssignment_9 : ( RULE_INT ) ; public final void rule__Knowledge__ActiveAssignment_9() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8678:1: ( ( RULE_INT ) ) // InternalGames.g:8679:2: ( RULE_INT ) { // InternalGames.g:8679:2: ( RULE_INT ) // InternalGames.g:8680:3: RULE_INT { before(grammarAccess.getKnowledgeAccess().getActiveINTTerminalRuleCall_9_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getKnowledgeAccess().getActiveINTTerminalRuleCall_9_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__ActiveAssignment_9" // $ANTLR start "rule__Knowledge__ConditionsActiveAssignment_10_1" // InternalGames.g:8689:1: rule__Knowledge__ConditionsActiveAssignment_10_1 : ( ruleCondition ) ; public final void rule__Knowledge__ConditionsActiveAssignment_10_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8693:1: ( ( ruleCondition ) ) // InternalGames.g:8694:2: ( ruleCondition ) { // InternalGames.g:8694:2: ( ruleCondition ) // InternalGames.g:8695:3: ruleCondition { before(grammarAccess.getKnowledgeAccess().getConditionsActiveConditionParserRuleCall_10_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getKnowledgeAccess().getConditionsActiveConditionParserRuleCall_10_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__ConditionsActiveAssignment_10_1" // $ANTLR start "rule__Knowledge__ConditionsGiveAssignment_11_1" // InternalGames.g:8704:1: rule__Knowledge__ConditionsGiveAssignment_11_1 : ( ruleCondition ) ; public final void rule__Knowledge__ConditionsGiveAssignment_11_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8708:1: ( ( ruleCondition ) ) // InternalGames.g:8709:2: ( ruleCondition ) { // InternalGames.g:8709:2: ( ruleCondition ) // InternalGames.g:8710:3: ruleCondition { before(grammarAccess.getKnowledgeAccess().getConditionsGiveConditionParserRuleCall_11_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getKnowledgeAccess().getConditionsGiveConditionParserRuleCall_11_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Knowledge__ConditionsGiveAssignment_11_1" // $ANTLR start "rule__Place__NameAssignment_1" // InternalGames.g:8719:1: rule__Place__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Place__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8723:1: ( ( RULE_ID ) ) // InternalGames.g:8724:2: ( RULE_ID ) { // InternalGames.g:8724:2: ( RULE_ID ) // InternalGames.g:8725:3: RULE_ID { before(grammarAccess.getPlaceAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPlaceAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__NameAssignment_1" // $ANTLR start "rule__Place__KnowledgesAssignment_3_1" // InternalGames.g:8734:1: rule__Place__KnowledgesAssignment_3_1 : ( ( RULE_ID ) ) ; public final void rule__Place__KnowledgesAssignment_3_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8738:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8739:2: ( ( RULE_ID ) ) { // InternalGames.g:8739:2: ( ( RULE_ID ) ) // InternalGames.g:8740:3: ( RULE_ID ) { before(grammarAccess.getPlaceAccess().getKnowledgesKnowledgeCrossReference_3_1_0()); // InternalGames.g:8741:3: ( RULE_ID ) // InternalGames.g:8742:4: RULE_ID { before(grammarAccess.getPlaceAccess().getKnowledgesKnowledgeIDTerminalRuleCall_3_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPlaceAccess().getKnowledgesKnowledgeIDTerminalRuleCall_3_1_0_1()); } after(grammarAccess.getPlaceAccess().getKnowledgesKnowledgeCrossReference_3_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__KnowledgesAssignment_3_1" // $ANTLR start "rule__Place__PeopleAssignment_4_1" // InternalGames.g:8753:1: rule__Place__PeopleAssignment_4_1 : ( ( RULE_ID ) ) ; public final void rule__Place__PeopleAssignment_4_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8757:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8758:2: ( ( RULE_ID ) ) { // InternalGames.g:8758:2: ( ( RULE_ID ) ) // InternalGames.g:8759:3: ( RULE_ID ) { before(grammarAccess.getPlaceAccess().getPeoplePeopleCrossReference_4_1_0()); // InternalGames.g:8760:3: ( RULE_ID ) // InternalGames.g:8761:4: RULE_ID { before(grammarAccess.getPlaceAccess().getPeoplePeopleIDTerminalRuleCall_4_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPlaceAccess().getPeoplePeopleIDTerminalRuleCall_4_1_0_1()); } after(grammarAccess.getPlaceAccess().getPeoplePeopleCrossReference_4_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__PeopleAssignment_4_1" // $ANTLR start "rule__Place__PathsAssignment_5_1" // InternalGames.g:8772:1: rule__Place__PathsAssignment_5_1 : ( ( RULE_ID ) ) ; public final void rule__Place__PathsAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8776:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8777:2: ( ( RULE_ID ) ) { // InternalGames.g:8777:2: ( ( RULE_ID ) ) // InternalGames.g:8778:3: ( RULE_ID ) { before(grammarAccess.getPlaceAccess().getPathsPathCrossReference_5_1_0()); // InternalGames.g:8779:3: ( RULE_ID ) // InternalGames.g:8780:4: RULE_ID { before(grammarAccess.getPlaceAccess().getPathsPathIDTerminalRuleCall_5_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getPlaceAccess().getPathsPathIDTerminalRuleCall_5_1_0_1()); } after(grammarAccess.getPlaceAccess().getPathsPathCrossReference_5_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__PathsAssignment_5_1" // $ANTLR start "rule__Place__ObjectsAssignment_6_1" // InternalGames.g:8791:1: rule__Place__ObjectsAssignment_6_1 : ( ruleItemInSomething ) ; public final void rule__Place__ObjectsAssignment_6_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8795:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8796:2: ( ruleItemInSomething ) { // InternalGames.g:8796:2: ( ruleItemInSomething ) // InternalGames.g:8797:3: ruleItemInSomething { before(grammarAccess.getPlaceAccess().getObjectsItemInSomethingParserRuleCall_6_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getPlaceAccess().getObjectsItemInSomethingParserRuleCall_6_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Place__ObjectsAssignment_6_1" // $ANTLR start "rule__ItemInCondition__ItemAssignment_0" // InternalGames.g:8806:1: rule__ItemInCondition__ItemAssignment_0 : ( ( RULE_ID ) ) ; public final void rule__ItemInCondition__ItemAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8810:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8811:2: ( ( RULE_ID ) ) { // InternalGames.g:8811:2: ( ( RULE_ID ) ) // InternalGames.g:8812:3: ( RULE_ID ) { before(grammarAccess.getItemInConditionAccess().getItemItemCrossReference_0_0()); // InternalGames.g:8813:3: ( RULE_ID ) // InternalGames.g:8814:4: RULE_ID { before(grammarAccess.getItemInConditionAccess().getItemItemIDTerminalRuleCall_0_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getItemInConditionAccess().getItemItemIDTerminalRuleCall_0_0_1()); } after(grammarAccess.getItemInConditionAccess().getItemItemCrossReference_0_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__ItemAssignment_0" // $ANTLR start "rule__ItemInCondition__QuantityAssignment_2" // InternalGames.g:8825:1: rule__ItemInCondition__QuantityAssignment_2 : ( RULE_INT ) ; public final void rule__ItemInCondition__QuantityAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8829:1: ( ( RULE_INT ) ) // InternalGames.g:8830:2: ( RULE_INT ) { // InternalGames.g:8830:2: ( RULE_INT ) // InternalGames.g:8831:3: RULE_INT { before(grammarAccess.getItemInConditionAccess().getQuantityINTTerminalRuleCall_2_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemInConditionAccess().getQuantityINTTerminalRuleCall_2_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__QuantityAssignment_2" // $ANTLR start "rule__ItemInCondition__MustBeExactAssignment_4" // InternalGames.g:8840:1: rule__ItemInCondition__MustBeExactAssignment_4 : ( RULE_INT ) ; public final void rule__ItemInCondition__MustBeExactAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8844:1: ( ( RULE_INT ) ) // InternalGames.g:8845:2: ( RULE_INT ) { // InternalGames.g:8845:2: ( RULE_INT ) // InternalGames.g:8846:3: RULE_INT { before(grammarAccess.getItemInConditionAccess().getMustBeExactINTTerminalRuleCall_4_0()); match(input,RULE_INT,FOLLOW_2); after(grammarAccess.getItemInConditionAccess().getMustBeExactINTTerminalRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ItemInCondition__MustBeExactAssignment_4" // $ANTLR start "rule__Condition__NameAssignment_1" // InternalGames.g:8855:1: rule__Condition__NameAssignment_1 : ( RULE_STRING ) ; public final void rule__Condition__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8859:1: ( ( RULE_STRING ) ) // InternalGames.g:8860:2: ( RULE_STRING ) { // InternalGames.g:8860:2: ( RULE_STRING ) // InternalGames.g:8861:3: RULE_STRING { before(grammarAccess.getConditionAccess().getNameSTRINGTerminalRuleCall_1_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getConditionAccess().getNameSTRINGTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__NameAssignment_1" // $ANTLR start "rule__Condition__PlayerAssignment_4" // InternalGames.g:8870:1: rule__Condition__PlayerAssignment_4 : ( ( RULE_ID ) ) ; public final void rule__Condition__PlayerAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8874:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8875:2: ( ( RULE_ID ) ) { // InternalGames.g:8875:2: ( ( RULE_ID ) ) // InternalGames.g:8876:3: ( RULE_ID ) { before(grammarAccess.getConditionAccess().getPlayerPlayerCrossReference_4_0()); // InternalGames.g:8877:3: ( RULE_ID ) // InternalGames.g:8878:4: RULE_ID { before(grammarAccess.getConditionAccess().getPlayerPlayerIDTerminalRuleCall_4_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getConditionAccess().getPlayerPlayerIDTerminalRuleCall_4_0_1()); } after(grammarAccess.getConditionAccess().getPlayerPlayerCrossReference_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__PlayerAssignment_4" // $ANTLR start "rule__Condition__KnowAssignment_5_1" // InternalGames.g:8889:1: rule__Condition__KnowAssignment_5_1 : ( ( RULE_ID ) ) ; public final void rule__Condition__KnowAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8893:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8894:2: ( ( RULE_ID ) ) { // InternalGames.g:8894:2: ( ( RULE_ID ) ) // InternalGames.g:8895:3: ( RULE_ID ) { before(grammarAccess.getConditionAccess().getKnowKnowledgeCrossReference_5_1_0()); // InternalGames.g:8896:3: ( RULE_ID ) // InternalGames.g:8897:4: RULE_ID { before(grammarAccess.getConditionAccess().getKnowKnowledgeIDTerminalRuleCall_5_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getConditionAccess().getKnowKnowledgeIDTerminalRuleCall_5_1_0_1()); } after(grammarAccess.getConditionAccess().getKnowKnowledgeCrossReference_5_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__KnowAssignment_5_1" // $ANTLR start "rule__Condition__ItemAssignment_6_1" // InternalGames.g:8908:1: rule__Condition__ItemAssignment_6_1 : ( ruleItemInCondition ) ; public final void rule__Condition__ItemAssignment_6_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8912:1: ( ( ruleItemInCondition ) ) // InternalGames.g:8913:2: ( ruleItemInCondition ) { // InternalGames.g:8913:2: ( ruleItemInCondition ) // InternalGames.g:8914:3: ruleItemInCondition { before(grammarAccess.getConditionAccess().getItemItemInConditionParserRuleCall_6_1_0()); pushFollow(FOLLOW_2); ruleItemInCondition(); state._fsp--; after(grammarAccess.getConditionAccess().getItemItemInConditionParserRuleCall_6_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Condition__ItemAssignment_6_1" // $ANTLR start "rule__Action__NameAssignment_1" // InternalGames.g:8923:1: rule__Action__NameAssignment_1 : ( RULE_ID ) ; public final void rule__Action__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8927:1: ( ( RULE_ID ) ) // InternalGames.g:8928:2: ( RULE_ID ) { // InternalGames.g:8928:2: ( RULE_ID ) // InternalGames.g:8929:3: RULE_ID { before(grammarAccess.getActionAccess().getNameIDTerminalRuleCall_1_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getActionAccess().getNameIDTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__NameAssignment_1" // $ANTLR start "rule__Action__ValAssignment_4" // InternalGames.g:8938:1: rule__Action__ValAssignment_4 : ( ruleActions ) ; public final void rule__Action__ValAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8942:1: ( ( ruleActions ) ) // InternalGames.g:8943:2: ( ruleActions ) { // InternalGames.g:8943:2: ( ruleActions ) // InternalGames.g:8944:3: ruleActions { before(grammarAccess.getActionAccess().getValActionsEnumRuleCall_4_0()); pushFollow(FOLLOW_2); ruleActions(); state._fsp--; after(grammarAccess.getActionAccess().getValActionsEnumRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__ValAssignment_4" // $ANTLR start "rule__Action__InterSuivanteAssignment_6" // InternalGames.g:8953:1: rule__Action__InterSuivanteAssignment_6 : ( ruleInteraction ) ; public final void rule__Action__InterSuivanteAssignment_6() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8957:1: ( ( ruleInteraction ) ) // InternalGames.g:8958:2: ( ruleInteraction ) { // InternalGames.g:8958:2: ( ruleInteraction ) // InternalGames.g:8959:3: ruleInteraction { before(grammarAccess.getActionAccess().getInterSuivanteInteractionParserRuleCall_6_0()); pushFollow(FOLLOW_2); ruleInteraction(); state._fsp--; after(grammarAccess.getActionAccess().getInterSuivanteInteractionParserRuleCall_6_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__InterSuivanteAssignment_6" // $ANTLR start "rule__Action__KnowledgeGivenAssignment_7_1" // InternalGames.g:8968:1: rule__Action__KnowledgeGivenAssignment_7_1 : ( ( RULE_ID ) ) ; public final void rule__Action__KnowledgeGivenAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8972:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:8973:2: ( ( RULE_ID ) ) { // InternalGames.g:8973:2: ( ( RULE_ID ) ) // InternalGames.g:8974:3: ( RULE_ID ) { before(grammarAccess.getActionAccess().getKnowledgeGivenKnowledgeCrossReference_7_1_0()); // InternalGames.g:8975:3: ( RULE_ID ) // InternalGames.g:8976:4: RULE_ID { before(grammarAccess.getActionAccess().getKnowledgeGivenKnowledgeIDTerminalRuleCall_7_1_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getActionAccess().getKnowledgeGivenKnowledgeIDTerminalRuleCall_7_1_0_1()); } after(grammarAccess.getActionAccess().getKnowledgeGivenKnowledgeCrossReference_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__KnowledgeGivenAssignment_7_1" // $ANTLR start "rule__Action__ItemsGivenAssignment_8_1" // InternalGames.g:8987:1: rule__Action__ItemsGivenAssignment_8_1 : ( ruleItemInSomething ) ; public final void rule__Action__ItemsGivenAssignment_8_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:8991:1: ( ( ruleItemInSomething ) ) // InternalGames.g:8992:2: ( ruleItemInSomething ) { // InternalGames.g:8992:2: ( ruleItemInSomething ) // InternalGames.g:8993:3: ruleItemInSomething { before(grammarAccess.getActionAccess().getItemsGivenItemInSomethingParserRuleCall_8_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getActionAccess().getItemsGivenItemInSomethingParserRuleCall_8_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__ItemsGivenAssignment_8_1" // $ANTLR start "rule__Action__ItemsConsumedAssignment_9_1" // InternalGames.g:9002:1: rule__Action__ItemsConsumedAssignment_9_1 : ( ruleItemInSomething ) ; public final void rule__Action__ItemsConsumedAssignment_9_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9006:1: ( ( ruleItemInSomething ) ) // InternalGames.g:9007:2: ( ruleItemInSomething ) { // InternalGames.g:9007:2: ( ruleItemInSomething ) // InternalGames.g:9008:3: ruleItemInSomething { before(grammarAccess.getActionAccess().getItemsConsumedItemInSomethingParserRuleCall_9_1_0()); pushFollow(FOLLOW_2); ruleItemInSomething(); state._fsp--; after(grammarAccess.getActionAccess().getItemsConsumedItemInSomethingParserRuleCall_9_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__ItemsConsumedAssignment_9_1" // $ANTLR start "rule__Action__ConditionsActionsAvailableAssignment_10_1" // InternalGames.g:9017:1: rule__Action__ConditionsActionsAvailableAssignment_10_1 : ( ruleCondition ) ; public final void rule__Action__ConditionsActionsAvailableAssignment_10_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9021:1: ( ( ruleCondition ) ) // InternalGames.g:9022:2: ( ruleCondition ) { // InternalGames.g:9022:2: ( ruleCondition ) // InternalGames.g:9023:3: ruleCondition { before(grammarAccess.getActionAccess().getConditionsActionsAvailableConditionParserRuleCall_10_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getActionAccess().getConditionsActionsAvailableConditionParserRuleCall_10_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__ConditionsActionsAvailableAssignment_10_1" // $ANTLR start "rule__Action__GameAssignment_12" // InternalGames.g:9032:1: rule__Action__GameAssignment_12 : ( ( RULE_ID ) ) ; public final void rule__Action__GameAssignment_12() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9036:1: ( ( ( RULE_ID ) ) ) // InternalGames.g:9037:2: ( ( RULE_ID ) ) { // InternalGames.g:9037:2: ( ( RULE_ID ) ) // InternalGames.g:9038:3: ( RULE_ID ) { before(grammarAccess.getActionAccess().getGameGameCrossReference_12_0()); // InternalGames.g:9039:3: ( RULE_ID ) // InternalGames.g:9040:4: RULE_ID { before(grammarAccess.getActionAccess().getGameGameIDTerminalRuleCall_12_0_1()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getActionAccess().getGameGameIDTerminalRuleCall_12_0_1()); } after(grammarAccess.getActionAccess().getGameGameCrossReference_12_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Action__GameAssignment_12" // $ANTLR start "rule__Interaction__NameAssignment_1" // InternalGames.g:9051:1: rule__Interaction__NameAssignment_1 : ( RULE_STRING ) ; public final void rule__Interaction__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9055:1: ( ( RULE_STRING ) ) // InternalGames.g:9056:2: ( RULE_STRING ) { // InternalGames.g:9056:2: ( RULE_STRING ) // InternalGames.g:9057:3: RULE_STRING { before(grammarAccess.getInteractionAccess().getNameSTRINGTerminalRuleCall_1_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getInteractionAccess().getNameSTRINGTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__NameAssignment_1" // $ANTLR start "rule__Interaction__PropAssignment_5" // InternalGames.g:9066:1: rule__Interaction__PropAssignment_5 : ( ruleProposition ) ; public final void rule__Interaction__PropAssignment_5() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9070:1: ( ( ruleProposition ) ) // InternalGames.g:9071:2: ( ruleProposition ) { // InternalGames.g:9071:2: ( ruleProposition ) // InternalGames.g:9072:3: ruleProposition { before(grammarAccess.getInteractionAccess().getPropPropositionParserRuleCall_5_0()); pushFollow(FOLLOW_2); ruleProposition(); state._fsp--; after(grammarAccess.getInteractionAccess().getPropPropositionParserRuleCall_5_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__PropAssignment_5" // $ANTLR start "rule__Interaction__ConditionsBeginAssignment_7_1" // InternalGames.g:9081:1: rule__Interaction__ConditionsBeginAssignment_7_1 : ( ruleCondition ) ; public final void rule__Interaction__ConditionsBeginAssignment_7_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9085:1: ( ( ruleCondition ) ) // InternalGames.g:9086:2: ( ruleCondition ) { // InternalGames.g:9086:2: ( ruleCondition ) // InternalGames.g:9087:3: ruleCondition { before(grammarAccess.getInteractionAccess().getConditionsBeginConditionParserRuleCall_7_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getInteractionAccess().getConditionsBeginConditionParserRuleCall_7_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__ConditionsBeginAssignment_7_1" // $ANTLR start "rule__Interaction__ConditionsEndAssignment_8_1" // InternalGames.g:9096:1: rule__Interaction__ConditionsEndAssignment_8_1 : ( ruleCondition ) ; public final void rule__Interaction__ConditionsEndAssignment_8_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9100:1: ( ( ruleCondition ) ) // InternalGames.g:9101:2: ( ruleCondition ) { // InternalGames.g:9101:2: ( ruleCondition ) // InternalGames.g:9102:3: ruleCondition { before(grammarAccess.getInteractionAccess().getConditionsEndConditionParserRuleCall_8_1_0()); pushFollow(FOLLOW_2); ruleCondition(); state._fsp--; after(grammarAccess.getInteractionAccess().getConditionsEndConditionParserRuleCall_8_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Interaction__ConditionsEndAssignment_8_1" // $ANTLR start "rule__Proposition__ValueAssignment_3" // InternalGames.g:9111:1: rule__Proposition__ValueAssignment_3 : ( RULE_STRING ) ; public final void rule__Proposition__ValueAssignment_3() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9115:1: ( ( RULE_STRING ) ) // InternalGames.g:9116:2: ( RULE_STRING ) { // InternalGames.g:9116:2: ( RULE_STRING ) // InternalGames.g:9117:3: RULE_STRING { before(grammarAccess.getPropositionAccess().getValueSTRINGTerminalRuleCall_3_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getPropositionAccess().getValueSTRINGTerminalRuleCall_3_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__ValueAssignment_3" // $ANTLR start "rule__Proposition__ActAssignment_4" // InternalGames.g:9126:1: rule__Proposition__ActAssignment_4 : ( ruleAction ) ; public final void rule__Proposition__ActAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalGames.g:9130:1: ( ( ruleAction ) ) // InternalGames.g:9131:2: ( ruleAction ) { // InternalGames.g:9131:2: ( ruleAction ) // InternalGames.g:9132:3: ruleAction { before(grammarAccess.getPropositionAccess().getActActionParserRuleCall_4_0()); pushFollow(FOLLOW_2); ruleAction(); state._fsp--; after(grammarAccess.getPropositionAccess().getActActionParserRuleCall_4_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__Proposition__ActAssignment_4" // Delegated rules public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000020000L}); public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000200000000L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000040000L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000080000L}); public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0200000000000000L}); public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000002100000L}); public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000002000002L}); public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000004200000L}); public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000200000L}); public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000008400000L}); public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400000L}); public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000010800000L}); public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000001000000L}); public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000020000000L}); public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000012L}); public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L}); public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000200000000000L}); public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0020000000000000L}); public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L}); public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080000000L}); public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x000000010C000000L}); public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000040L}); public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400000000L}); public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000800000000L}); public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000005000000000L}); public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x000000A000000000L}); public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000100000000L,0x0000000000000002L}); public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0800000000000000L}); public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0800000000000002L}); public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000004001000000L}); public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L}); public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000022000000000L}); public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x00001C0100000000L}); public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000400000000000L}); public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000008000000000L}); public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0800800000000000L}); public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0007000100000000L}); public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0008000000000000L}); public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0010000000000000L}); public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0040000000000000L}); public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0180000000000010L}); public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000100000010L}); public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0002008100000000L}); public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x040000010C200000L}); public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x2000000000000000L}); public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x000000000000F800L}); public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x4000000000000000L}); public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x8000180000010000L,0x0000000000000003L}); public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000100000000L}); public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L}); public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000100000000L,0x0000000000000020L}); public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000020L}); public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000000100000000L,0x0000000000000018L}); public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x1000000000000000L}); }
[ "flo.garibal@gmail.com" ]
flo.garibal@gmail.com
197225efa482b9802d272e5b666d9465f7a49abb
5ab2a3b5bddba213c5b54ce43266d30a2f729b89
/examples/ex1/test_cases/method_renaming/method_with_this.java
2d3715ba8e9e9b5c9ad9932f1465564f71a9124b
[]
no_license
OrrBin/compilers-project
1da9b947bb68e010ae8161bc3e4a91d9c3f85f23
de42921d71b7b1302c4ba6ef87aa671e42751dd2
refs/heads/master
2023-02-18T21:56:14.609624
2021-01-13T13:12:57
2021-01-13T13:12:57
309,152,074
0
0
null
null
null
null
UTF-8
Java
false
false
464
java
package test_cases.method_renaming; class Main { public static void main(String[] args) { System.out.println(1); } } class A {} class B extends A { public int theMethod() { return 1; } public int anotherMethod() { return this.theMethod() } } class C extends A { public int theMethod() { return 1; } } class D extends C { public int anotherMethod() { return this.theMethod() } }
[ "ormorshtein@mail.tau.ac.il" ]
ormorshtein@mail.tau.ac.il
e0f1b68415a9e0a477d32c034690a41524042156
f7463a562aef1fbd6b56d45b6a3d94108fb8d501
/RigitalApp.api/src/main/java/co/edu/uniandes/csw/grupo/wiki/master/logic/dto/WikiMasterDTO.java
6cbd406055eace941d6508f53f33953ab45bd551
[]
no_license
paotoya757/Rigital---production-repo
7d17058a4a342862924d89260da0fef2566ad0eb
e51899e6f00c37dc441bdad602871fcbfe44f984
refs/heads/master
2021-01-13T01:31:24.431190
2014-12-02T06:42:55
2014-12-02T06:42:55
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,456
java
/* ======================================================================== * Copyright 2014 grupo * * Licensed under the MIT, The MIT License (MIT) * Copyright (c) 2014 grupo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ======================================================================== Source generated by CrudMaker version 1.0.0.201410152247 */ package co.edu.uniandes.csw.grupo.wiki.master.logic.dto; public class WikiMasterDTO extends _WikiMasterDTO { }
[ "pa.otoya757@uniandes.edu.co" ]
pa.otoya757@uniandes.edu.co
d7d9eed87cd8558c7f559b51aa08511b14069516
d127d0e32a63fe44166fdb878a3dda2c5e4ca826
/src/com/company/app/serialization/SerializationUtil.java
d412cd30c3e47b46893412d0a89903eb075ee2f6
[]
no_license
adriano-fonseca/ApiJavaTests
a37d53f3ef5c5be5cfd2a2de32bca3a2fad74d7b
ea5707b01a1f108ecbc57ef616218fbd36605f5a
refs/heads/master
2021-01-10T14:55:08.377801
2016-10-31T16:52:43
2016-10-31T16:52:43
51,872,036
0
0
null
null
null
null
UTF-8
Java
false
false
1,110
java
package com.company.app.serialization; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; public class SerializationUtil { public static void serialize(Object o, String path) { try { FileOutputStream fileOut = new FileOutputStream(path,false); ObjectOutputStream out = new ObjectOutputStream(fileOut); out.writeObject(o); out.close(); fileOut.close(); System.out.println("Serialized data is saved in "+path+"\n"); } catch (IOException i) { i.printStackTrace(); } } public static Object unserialize(String path) { Object e = null; try { FileInputStream fileIn = new FileInputStream(path); ObjectInputStream in = new ObjectInputStream(fileIn); e = in.readObject(); in.close(); fileIn.close(); } catch (IOException i){ i.printStackTrace(); } catch (ClassNotFoundException c) { System.out.println("Employee class not found"); c.printStackTrace(); } return e; } }
[ "ADRIANO-FONSECA@PROCERGS.REDERS" ]
ADRIANO-FONSECA@PROCERGS.REDERS
57450b6237ef6ddd6ccb3e2c638981303ededc7c
6db36efe9ba39afadcbe6fd1a43fda7a46dd6718
/src/main/java/com/krishna/chasystem/web/service/JobReceiptService.java
6d76c6056f40f389f4728c490dc8213ac1bab413
[]
no_license
tukaighosh/CHASystem
b5094be67f0ccec1e80cfbd643d0ec1bda9dc45d
2570cc98f0e69aad1a8f7c73a68ef981a50f1cbf
refs/heads/master
2022-07-22T12:45:16.446795
2018-11-09T10:31:20
2018-11-09T10:31:20
143,837,310
0
0
null
2022-07-14T15:53:01
2018-08-07T07:37:22
SQLPL
UTF-8
Java
false
false
608
java
package com.krishna.chasystem.web.service; import java.sql.SQLException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.krishna.chasystem.web.dto.JobReceiptMaster; import com.krishna.chasystem.web.repository.JobReceiptRepository; @Service public class JobReceiptService { @Autowired JobReceiptRepository jobReceiptRepo; public int addJobReceiptEntry(JobReceiptMaster jobReceipt) throws ClassNotFoundException, SQLException { // TODO Auto-generated method stub return jobReceiptRepo.addJobReceiptEntry(jobReceipt); } }
[ "ghoshtukaikumar@gmail.com" ]
ghoshtukaikumar@gmail.com
0f80d5f34de0a4be1cea2bdabf23a019ad35397f
a37c0f17f602c9f569fa26795bb5357f80f6d3ca
/src/main/java/lesson_4/MyLinkedDeque.java
8c7019c69791a48b1bdf43e9b2e9d154708af23b
[]
no_license
Lightfollower/Algorithms
c0a85c5e2380465f8db77107ab53cf1b80f32343
294771d2681562974438e23f3260f40b70b5d482
refs/heads/master
2020-08-02T06:12:59.731336
2019-10-20T07:43:53
2019-10-20T07:43:53
211,259,827
1
0
null
2019-10-20T07:43:54
2019-09-27T07:19:56
Java
UTF-8
Java
false
false
663
java
package lesson_4; public class MyLinkedDeque<T> { private MyLinkedList<T> deque = new MyLinkedList<>(); public void pushLeft(T value) { deque.insertFirst(value); } public void pushRight(T value) { deque.insertLast(value); } public T popLeft() { return deque.removeFirst(); } public T popRight() { return deque.removeLast(); } public T peekLeft() { return deque.getFirst(); } public T peekRight() { return deque.getLast(); } public int size() { return deque.size(); } public boolean isEmpty() { return deque.isEmpty(); } }
[ "lightfollower1985@gmail.com" ]
lightfollower1985@gmail.com
94ae7f9ee0fd3c8787316d1cf87f49b67b48733e
de0987c63f392612453a86a5edb4edac52d085f7
/DemoProject/src/CarDemo.java
8451e026c48f48b5b0ef8b254cff9b3a2f43a7ef
[]
no_license
bpoongs/cg-java-demo
2623c76d3ff47ac98dc1bc6bdbd9b92ab9af4535
46ef25c32c8023d48c79a3c145ae0116b58b2dd6
refs/heads/main
2023-04-11T05:25:55.388366
2021-04-28T08:47:07
2021-04-28T08:47:07
362,029,046
0
0
null
null
null
null
UTF-8
Java
false
false
373
java
public class CarDemo { public static void main(String[] args) { SkodaFabia fabia1 = new SkodaFabia(); fabia1.switchOn(); fabia1.switchOff(); fabia1.engineStart(); fabia1.engineStop(); Car fabia2 = new SkodaFabia(); fabia2.switchOn(); fabia2.switchOff(); // fabia2.engineStart(); - compiler error // fabia2.engineStop(); - compiler error } }
[ "bpoongs@gmail.com" ]
bpoongs@gmail.com
932cfc77f61004e6a9d531cf00efe11c1f2ea58e
face606273e978fb2453326db49c5dac9f34d93d
/MYjdbc/MYjdbc/src/myproject/productMethod.java
7179d825cdc22c7d5ddb8b613ffbe9073211120b
[]
no_license
leejunbin/test123
475173a6cd05dd423945bfb91e8bf5c180e6cb96
ea2b9e77727245ff50e3d311a52e81a7feb21d7d
refs/heads/master
2020-08-09T10:08:06.595273
2019-11-27T12:22:30
2019-11-27T12:22:30
214,065,334
0
0
null
null
null
null
UHC
Java
false
false
3,778
java
package myproject; import java.util.ArrayList; import java.util.Scanner; import dao.productDao; import dto.productDto; public class productMethod { static Scanner scan=new Scanner(System.in); static productDao pDao=new productDao(); //물품전체조회 메소드 public static void selectAll() { System.out.println("<<물품전체 조회결과>>"); ArrayList<productDto> list=pDao.selectAll(); for(int i=0;i<list.size();i++) { productDto dto=list.get(i); System.out.println("물품코드: " + dto.getBuycode()); System.out.println("물품명: " + dto.getPname()); System.out.println("가격: " + dto.getPrice()+"원"); System.out.println("색상: " + dto.getColor()); System.out.println("재고수량: " + dto.getInven()+"개"); System.out.println("================"); } } //물품전체조회 메소드(버전2) public static void selectAll_1() { ArrayList<productDto> list=pDao.selectAll(); System.out.println("==============물품정보=================="); System.out.println("──────────────────────────────────────"); System.out.println("물품코드\t물품명\t가격\t색상\t재고수량"); System.out.println("──────────────────────────────────────"); for(int i=0;i<list.size();i++) { productDto dto=list.get(i); System.out.println(dto.getBuycode()+"\t" +dto.getPname() +"\t" + dto.getPrice() +"\t" +dto.getColor()+"\t"+dto.getInven()+"개"); System.out.println("──────────────────────────────────────"); } } //물품추가 메소드 public static void insert() { System.out.println("[추가할 물품정보 입력]"); System.out.print("물품코드: "); int buycode=scan.nextInt(); System.out.print("물품명: "); String pname=scan.next(); System.out.print("가격: "); int price=scan.nextInt(); System.out.print("색상: "); String color=scan.next(); System.out.print("입고수량: "); int inven=scan.nextInt(); productDto dto=new productDto(buycode, pname, price, color,inven); pDao.insert(dto); //추가메소드 호출 } //물품삭제 메소드 public static void delete() { System.out.print("삭제할 물품번호 입력: "); int num=scan.nextInt(); pDao.delete(num); //삭제메소드 호출 } //물품수정 메소드 public static void update() { System.out.println("[수정할 물품정보 입력]"); System.out.print("물품코드 :"); int buycode=scan.nextInt(); System.out.print("물품명: "); String pname=scan.next(); System.out.print("가격: "); int price=scan.nextInt(); System.out.print("색상: "); String color=scan.next(); System.out.println("재고수량: "); int inven=scan.nextInt(); productDto dto=new productDto(buycode, pname, price, color,inven); pDao.update(dto); //수정메소드 호출 } //물품조회(검색) 메소드 public static void select() { System.out.print("조회하려는 물품코드를 입력: "); int number=scan.nextInt(); System.out.println("<<물품조회 결과>>"); ArrayList<productDto> list=pDao.select(number); productDto dto=list.get(0); if(dto!=null) { System.out.println("물품코드: " + dto.getBuycode()); System.out.println("물품명: " + dto.getPname()); System.out.println("가격: " + dto.getPrice()+"원"); System.out.println("색상: " + dto.getColor()); System.out.println("재고수량: " + dto.getInven()+"개"); }else { System.out.println("조회한 물품이 없습니다..."); } } }
[ "junbin900702@gmail.com" ]
junbin900702@gmail.com
9b25a426a3d7ac97b37ff8c089bcced7bdb7e4f7
5614005598ae7db3e6291804ba11bf4acd97ce07
/task04/task0442/Solution.java
f92aba9b7b56010fcfbb3d6cebbf5a09a4372dde
[]
no_license
MetalSheriff/JavaRush-Solutions
bbee6dcb7c10e5d312c269460c67e5439b269251
68f4b6bb1f3cc659e956e0d1af2ea7108360a0e7
refs/heads/main
2023-03-23T12:09:41.111841
2021-03-23T19:37:49
2021-03-23T19:37:49
350,803,206
0
0
null
null
null
null
UTF-8
Java
false
false
510
java
package com.javarush.task.task04.task0442; /* Суммирование */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int sum = 0; while (true){ String s = reader.readLine(); int i = Integer.parseInt(s); sum = sum + i; if (i == -1) break; } System.out.println(sum); } }
[ "noreply@github.com" ]
noreply@github.com
67fc70a29d13d94bc85f537267ce36b2bea9a2e8
2770473d54cf732d4087f242ca2a6e25f364f12a
/smartETL/src/main/java/org/f3tools/incredible/smartETL/utilities/CSVFile.java
39a0e3e4a39d45d4d369360959fdc46bf6178279
[]
no_license
jwhgithub/SmartETL
72b11984240f397770178e8ac556c2b60415247e
df1dd323ec7ea5dce2dfe72f5182a024c13a069f
refs/heads/master
2020-12-25T07:49:43.000356
2015-03-10T16:22:18
2015-03-10T16:22:18
null
0
0
null
null
null
null
UTF-8
Java
false
false
5,223
java
package org.f3tools.incredible.smartETL.utilities; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.InputStreamReader; import java.util.Arrays; import org.f3tools.incredible.smartETL.utilities.ETLException; import org.f3tools.incredible.smartETL.DataDef; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CSVFile { private Logger logger = LoggerFactory.getLogger(CSVFile.class); private BufferedReader br; private String delimiter; private String quote; private String path; private DataDef dataDef; public CSVFile(DataDef dataDef, String path, String delimiter, String quote, boolean hasTitle) throws ETLException { try { this.dataDef = dataDef; this.delimiter = delimiter; this.quote = quote; this.path = path; br = new BufferedReader(new InputStreamReader(new FileInputStream(path)), 5000); if (hasTitle) readRow(false); } catch (Exception e) { throw new ETLException(e); } } public void setDataDef(DataDef dataDef) { this.dataDef = dataDef; } public Object[] readRow(boolean conversion) { String line = null; Object[] row = null; int fieldCount = this.dataDef.getFieldCount(); try { line = br.readLine(); while (line != null) { row = createElements(line, this.delimiter, (char)0, this.quote, conversion); // shall add code to log problematic rows if (row != null) { if (row.length != fieldCount) { logger.error("actual field amount {} is less than required amount {}, line:{}", row.length, fieldCount, line); } else return row; } else logger.error("return null for line{}", line); line = br.readLine(); } return null; } catch (Exception e) { if (line != null) { logger.info("processing line: {}", line); } logger.error("can't create row elements", e); return null; } } public void close() { try { if (br != null) br.close(); } catch (Exception e) { logger.error("Can't close file {}", path, e); } } /** * This method returns a ArrayList which contains tokens from the input line. * Empty element which occurs when there is nothing between two delimiters * will be added in the row ArrayList as null. * * Since java.util.StringTokenizer doesn't work well for empty element, * we need write our own tokenizer * * @param aLine * @param delimiters * @param escape if escape is not 0, escape is supported. for example, if delimiter is ",", "\," will be treated as "," * @return */ private Object[] createElements(String aLine, String delimiter, char escape, String quoteStr, boolean conversion) throws ETLException { int nPos = 0; int nLen = aLine.length(); char c; char[] eBuf = new char[nLen]; int ePos = 0; char dl = delimiter.charAt(0); boolean startQ = false; int fldCount = this.dataDef.getFieldCount(); Object[] vRow = new Object[fldCount]; int i = 0; char quote = 0; if (quoteStr != null) quote = quoteStr.charAt(0); //ArrayList<String> vRow = new ArrayList<String>(); while(nPos < nLen) { c = aLine.charAt(nPos); if (quote != 0) { if (startQ) { if (c == quote) startQ = false; else eBuf[ePos++] = c; nPos++; continue; } else { if (c == quote) { startQ = true; nPos++; continue; } } } if(dl == c) { if(ePos == 0) { vRow[i++] = null; } else { char preC = aLine.charAt(nPos - 1); if (preC == escape && escape != 0 ) { eBuf[ePos - 1] = c; } else { String value = new String(eBuf, 0, ePos); if (conversion) vRow[i] = this.dataDef.getFieldValue(i, value); else vRow[i] = value; i++; ePos = 0; } } } else { if (quote == 0) eBuf[ePos++] = c; } nPos++; } // currently nPos == nLen, end of the line if(ePos != 0) { String value = new String(eBuf, 0, ePos); if (conversion) vRow[i] = this.dataDef.getFieldValue(i, value); else vRow[i] = value; } else { // the last character is a delimiter vRow[i] = null; } // if actual element larger than total field count, resize returned row if (fldCount > i + 1) vRow = Arrays.copyOf(vRow, i + 1); return vRow; } }
[ "denniskds@yahoo.com" ]
denniskds@yahoo.com
cbb1b89f967ef7fb9e30b75f1b351c3548774018
d71e879b3517cf4fccde29f7bf82cff69856cfcd
/ExtractedJars/LibriVox_app.librivox.android/javafiles/com/google/android/gms/internal/ads/bjc.java
ba2071310754ecb473840668bca6aee29f02c35e
[ "MIT" ]
permissive
Andreas237/AndroidPolicyAutomation
b8e949e072d08cf6c6166c3f15c9c63379b8f6ce
c1ed10a2c6d4cf3dfda8b8e6291dee2c2a15ee8a
refs/heads/master
2020-04-10T02:14:08.789751
2019-05-16T19:29:11
2019-05-16T19:29:11
160,739,088
5
1
null
null
null
null
UTF-8
Java
false
false
364
java
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; // Referenced classes of package com.google.android.gms.internal.ads: // bdp public interface bjc { public abstract void a(bdp bdp, Object obj); }
[ "silenta237@gmail.com" ]
silenta237@gmail.com
28d9ee4c5c4241840617d39f22e56ef2516ca2cd
880864969b40bafaa2c53ba55d94f8781f4478fc
/src/enteties/Brackets.java
79a9bd1419d64b4dc9919ec9f954ee339e854e41
[]
no_license
MateAcademy/Calculator
e9ef92d22217aa745f15946948885accb415d984
a2b0e2f6c30bea8a4dc1523be069ebf2ae18d40b
refs/heads/master
2023-03-19T00:40:47.139739
2022-08-29T07:57:17
2022-08-29T07:57:17
239,734,718
0
0
null
null
null
null
UTF-8
Java
false
false
519
java
package enteties; /** * @author Sergey Klunniy */ public class Brackets { private int openPosition; private int closedPosition; public Brackets(int openPosition) { this.openPosition = openPosition; this.closedPosition = -1; } public int getOpenPosition() { return openPosition; } public int getClosedPosition() { return closedPosition; } public void setClosedPosition(int closedPosition) { this.closedPosition = closedPosition; } }
[ "s.klunniy@gmail.com" ]
s.klunniy@gmail.com
a8ae74491f6b78124883a8563e7fc9c0a345200a
50d11a1ffc5f6b20f6dbca61b6e9e9d63ae7bf40
/app/src/main/java/com/tru/trudiancloud/main/mall/view/HeaderOwnerOnlyNewView.java
6650f51df0ddafae31e06afd8e7e4ce2342426de
[ "MIT" ]
permissive
TIHubGitHub/TDEntranceGuard
af9e73b139e55d6570f2540317f5d208f488f3fc
cd1b015a257290507e5f22db3abeff38b4030314
refs/heads/master
2023-08-11T21:29:33.758680
2021-09-10T08:42:04
2021-09-10T08:42:04
null
0
0
null
null
null
null
UTF-8
Java
false
false
7,408
java
package com.tru.trudiancloud.main.mall.view; import android.annotation.SuppressLint; import android.content.Context; import android.os.CountDownTimer; import android.os.Handler; import android.text.TextUtils; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; import com.netStateLib.NetUtils; import com.tru.trudiancloud.GlobalKey; import com.tru.trudiancloud.R; import com.tru.trudiancloud.backup.controller.utils.ImageLoaderHelper; import com.tru.trudiancloud.main.controller.activity.MainActivity; import com.tru.trudiancloud.main.mall.controller.activity.MallHomeActivity; import com.tru.trudiancloud.main.mall.model.bean.net.HeaderViewInterface; import com.tru.trudiancloud.main.mall.model.bean.out.NetOutGetMallHomeNewBean; import com.tru.trudiancloud.main.tenement.utils.SharedPreferencesTools; import butterknife.BindView; import butterknife.ButterKnife; /** * 新的业主专享 * * @author devin * @create 2017/11/16 * @update devin * @update_time 2017/11/16 */ public class HeaderOwnerOnlyNewView extends HeaderViewInterface { @BindView(R.id.tv_a) TextView mTvA; @BindView(R.id.tv_b) TextView mTvB; @BindView(R.id.tv_c) TextView mTvC; @BindView(R.id.tv_d) TextView mTvD; @BindView(R.id.iv_goods_photo) ImageView mIvGoodsPhoto; @BindView(R.id.v_owner_only_header_line) View mVOwnerOnlyHeaderLine; @BindView(R.id.ll_view_item) LinearLayout mRlViewItem; @BindView(R.id.ll_owner_only) LinearLayout mLLOwnerOnly; @BindView(R.id.tv_owner_title) TextView mTvOwnerTitle; private View mView; private Context mContext; private Handler mHandler; private int mHeightBefore; private SharedPreferencesTools mPf; private CountDownTimer mCountDownTimer; public HeaderOwnerOnlyNewView(Context context) { super(context); this.mContext = context; mPf = SharedPreferencesTools.getInstance(context); } @Override protected void addView(ListView lv) { mHandler = new Handler(); mView = mInflate.inflate(R.layout.view_owner_only_new, null); ButterKnife.bind(this, mView); if (mContext instanceof MainActivity &&mVOwnerOnlyHeaderLine.getVisibility()!=View.VISIBLE){ mVOwnerOnlyHeaderLine.setVisibility(View.VISIBLE); } lv.addHeaderView(mView, null, false); } public View getView() { return mView; } public void updateData(final NetOutGetMallHomeNewBean.OwnerEnjoyBean ownerEnjoyBean) { mPf.put(GlobalKey.EXTRA_STR_ACTIVITY_NAME, ownerEnjoyBean.getActivityName()); if (!TextUtils.isEmpty(ownerEnjoyBean.getActivityName())){ mTvOwnerTitle.setText(ownerEnjoyBean.getActivityName()); } if (ownerEnjoyBean==null) { mRlViewItem.setVisibility(View.GONE); mVOwnerOnlyHeaderLine.setVisibility(View.GONE); return; }else { mRlViewItem.setVisibility(View.VISIBLE); } String avatar ; try { avatar = ownerEnjoyBean.getImagePath().getOriginal(); ImageLoaderHelper.showTrudianPic(avatar,mIvGoodsPhoto,mContext); } catch (Exception e) { e.printStackTrace(); ImageLoaderHelper.showTrudianPic("",mIvGoodsPhoto,mContext); } mRlViewItem.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { // mContext.startActivity(MallOwnerOnlyActivity.getIntent(mContext,ownerEnjoyBean.getActivityName())); } }); //把时间差转换成倒计时 final int orderType = 1; refreshCountTimer(ownerEnjoyBean); if (mCountDownTimer!=null){ mCountDownTimer.cancel(); mCountDownTimer = null; } //1秒执行数据更新 mCountDownTimer = new CountDownTimer(Long.MAX_VALUE,1000) { @SuppressLint("WrongConstant") @Override public void onTick(long l) { try { if (NetUtils.isNetworkAvailable(mContext)) { refreshCountTimer(ownerEnjoyBean); } } catch (Exception e) { e.printStackTrace(); } } @Override public void onFinish() { } }; mCountDownTimer.start(); } private void refreshCountTimer(NetOutGetMallHomeNewBean.OwnerEnjoyBean ownerEnjoyBean) { //如果为业主独享标识 long time = ownerEnjoyBean.getPreEndTime()-System.currentTimeMillis()/1000; if (time == 0) { //请求更新首页数据 if (mContext instanceof MallHomeActivity) { ((MallHomeActivity)mContext).updateMallHomeMsg(); } } if (ownerEnjoyBean.getTimeLeftSecond() > 0) { handlerCheckTime(time); mLLOwnerOnly.setVisibility(View.VISIBLE); } else { mLLOwnerOnly.setVisibility(View.GONE); } } /** * 倒计时时间 * * @methodAutor devin * @methodCreate 2017/8/28 */ private void handlerCheckTime(long time) { if (time <= 0) { mTvA.setText(String.valueOf(0)); mTvB.setText(String.valueOf(0)); mTvC.setText(String.valueOf(0)); mTvD.setText(String.valueOf(0)); } else { int day = (int) (time/60/60/24); if (day > 9) { mTvA.setText(day +""); } else { mTvA.setText(day +""); } int hour = (int) (time/60/60%24); if (hour > 9) { mTvB.setText(hour+""); } else { mTvB.setText(hour+""); } int minute = (int) (time/60%60); if (minute > 9) { mTvC.setText(minute+""); } else { mTvC.setText(minute+""); } int second = (int) (time%60); if (second > 9) { mTvD.setText(second+""); } else { mTvD.setText(second+""); } } } @Override protected void onDestrory() { mCountDownTimer.cancel(); } public void updateViewSize( int height) { if (mContext == null) { return; } if (height == 1) { mRlViewItem.setVisibility(View.GONE); mVOwnerOnlyHeaderLine.setVisibility(View.GONE); } else { mRlViewItem.setVisibility(View.VISIBLE); mVOwnerOnlyHeaderLine.setVisibility(View.VISIBLE); } ViewGroup.LayoutParams lp; lp= mRlViewItem.getLayoutParams(); if (lp == null) { return; } if (lp.height > 1) { mHeightBefore = lp.height; } if (height <= 0) { height = mHeightBefore; } lp.height=height; mRlViewItem.setLayoutParams(lp); } }
[ "" ]
93df6bf0b7fc837b3b22854b9b171e80eb6ac4f0
db80ad421350cadd22044e4de4a248aff6926407
/pm25phone/src/main/java/com/msisuzney/pm25phone/PMDataMessageEvent.java
0ca2e4ffe55a8bdeffd901fe9fd1045b96c596b4
[]
no_license
msisuzney/PM25Demo
65e510016291cb8d4b8a30a30340a846bd497c9c
b824c30d0ef2c0149b7b4ac5def41c7fe37ba0e0
refs/heads/master
2021-01-01T16:57:32.307276
2017-10-13T06:54:30
2017-10-13T06:54:30
97,956,643
0
0
null
null
null
null
UTF-8
Java
false
false
562
java
package com.msisuzney.pm25phone; /** * Created by chenxin. * Date: 2017/10/13. * Time: 9:59. */ public class PMDataMessageEvent { private int pm1_0; private int pm2_5; public PMDataMessageEvent(int pm1_0, int pm2_5) { this.pm1_0 = pm1_0; this.pm2_5 = pm2_5; } public int getPm1_0() { return pm1_0; } public void setPm1_0(int pm1_0) { this.pm1_0 = pm1_0; } public int getPm2_5() { return pm2_5; } public void setPm2_5(int pm2_5) { this.pm2_5 = pm2_5; } }
[ "chenxin7930@qq.com" ]
chenxin7930@qq.com
033f28ee7a024d662fec97e63c762a48c5a48616
5fb2f4eb04ef18b85c7d253f135571fa12998cc2
/src/com/vita/vita/bankaccount/Main.java
957cef176c00a0f3f3c04f7333577a4c17dc3145
[]
no_license
vitonman/udemywork
cbb7bed86cf8819e53eba0a62ad1478787a6ba13
4090a995bd5337b6020553ba8d531d4ab7927e62
refs/heads/master
2020-07-30T23:23:15.405930
2020-01-06T14:11:49
2020-01-06T14:11:49
210,396,693
0
0
null
null
null
null
UTF-8
Java
false
false
480
java
package com.vita.vita.bankaccount; public class Main { public static void main(String[] args){ BankAccount bankAccount = new BankAccount("VitaAccount"); bankAccount.deposit(2000); bankAccount.withdraw(500); bankAccount.withdraw(-500); bankAccount.deposit(1000); bankAccount.calculateBalance(); //bankAccount.balance = 500; System.out.println("Balance on account is " + bankAccount.getBalance()) ; } }
[ "45338513+vitonman@users.noreply.github.com" ]
45338513+vitonman@users.noreply.github.com
94e89f8ea312dbd32d600194ec28148725e25b80
29d4fe1c6832b087dc8e7637a05bc6839cdf029f
/src/com/cloupia/feature/infinidat/inventory/INFINIDATBinder.java
79d05ce296d1987a13c56a6f2d256b7232a10fca
[ "MIT" ]
permissive
robjporter/UCSD-Infinidat
516b1e1267953b5bfa66ee2cf08834b2d0c9b542
57a5e6c7ced82841b08fbdf68e2e55c2a6dd8b94
refs/heads/master
2020-04-10T01:30:35.138359
2016-09-15T07:47:30
2016-09-15T07:47:30
68,201,625
0
0
null
null
null
null
UTF-8
Java
false
false
1,620
java
package com.cloupia.feature.infinidat.inventory; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import com.cloupia.feature.infinidat.constants.INFINIDATConstants; import com.cloupia.model.cIM.InventoryDBItemIf; import com.cloupia.service.cIM.inframgr.collector.controller.ItemDataObjectBinderIf; import com.cloupia.service.cIM.inframgr.collector.model.ItemResponse; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; @SuppressWarnings({"rawtypes","unused"}) public class INFINIDATBinder implements ItemDataObjectBinderIf { private static Logger logger = Logger.getLogger( INFINIDATBinder.class ); @Override public ItemResponse bind(ItemResponse response) { if(INFINIDATConstants.DEBUG_CORE && INFINIDATConstants.DEBUG){logger.info( "----#### INFINIDATBinder:bind ####----" );} String jsonData = response.getCollectedData(); JsonParser parser = new JsonParser(); JsonObject obj = (JsonObject) parser.parse( jsonData ); JsonArray array = obj.getAsJsonArray( "data" ); Class clazz = response.getItem().getBoundToClass(); List<InventoryDBItemIf> objs = new ArrayList<InventoryDBItemIf>(); Gson gson = new Gson(); for (int i = 0; i < array.size(); i++) { JsonElement ele = array.get( i ); InventoryDBItemIf invDBObj = gson.fromJson( ele, clazz ); String accountName = response.getNodeId().getConnectorId(); invDBObj.setAccountName( accountName ); objs.add(invDBObj); } response.setBoundObjects(objs); return response; } }
[ "robjporter@outlook.com" ]
robjporter@outlook.com
cc51da3c9cc071a21a4ad32fb80ac20bf4ab80e7
236af7abfd504796c601252295e7c6a5f6bc7748
/spring-console-example/src/main/java/xyz/kosmonaffft/wiring/annotations/BeanC.java
85b0e84e39144dd270576274df348f4c91f181fd
[]
no_license
kosmonaffft/stc-all
dcea71e971900a3f154005ec41646a89096b7472
78f6beec4eb501c55d7dfa35e5a3402a3f499fad
refs/heads/main
2023-03-03T09:51:00.231957
2021-02-11T14:16:43
2021-02-11T14:16:43
318,503,709
0
0
null
null
null
null
UTF-8
Java
false
false
386
java
package xyz.kosmonaffft.wiring.annotations; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class BeanC { private BeanD beanD; public BeanD getBeanD() { return beanD; } @Autowired public void setBeanD(BeanD beanD) { this.beanD = beanD; } }
[ "kosmonaffft@gmail.com" ]
kosmonaffft@gmail.com
057100829a5e1ba464fa0820ab4c061b360a913b
f009dc33f9624aac592cb66c71a461270f932ffa
/src/main/java/com/alipay/api/domain/MCardDetail.java
8b42da41c365c5884691ef147147461c85bbc461
[ "Apache-2.0" ]
permissive
1093445609/alipay-sdk-java-all
d685f635af9ac587bb8288def54d94e399412542
6bb77665389ba27f47d71cb7fa747109fe713f04
refs/heads/master
2021-04-02T16:49:18.593902
2020-03-06T03:04:53
2020-03-06T03:04:53
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,075
java
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 商户储值卡信息 * * @author auto create * @since 1.0, 2017-07-27 19:31:32 */ public class MCardDetail extends AlipayObject { private static final long serialVersionUID = 1193882268788585119L; /** * 储值卡可用余额 */ @ApiField("available_amount") private String availableAmount; /** * 储值卡名称 */ @ApiField("name") private String name; /** * 储值卡支付金额 */ @ApiField("pay_amount") private String payAmount; public String getAvailableAmount() { return this.availableAmount; } public void setAvailableAmount(String availableAmount) { this.availableAmount = availableAmount; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getPayAmount() { return this.payAmount; } public void setPayAmount(String payAmount) { this.payAmount = payAmount; } }
[ "ben.zy@antfin.com" ]
ben.zy@antfin.com
b16f42bb28583747d54ba1c15eebfb6b5208cf2b
57cf515098fc3883db6a7907dc9e9ef2271bab41
/userCRUD/src/main/java/com/usercrud/utill/APIStatus.java
559869f501c4505b4d7f96d6e78a45441d67cd4d
[]
no_license
harshsinghal1010/finalJPACRUD
556c0edb73644a8690cc9c13d4fc063071b8cb0d
a44d375860054e45d749b1e8db14397441508cdb
refs/heads/master
2020-04-19T19:30:07.811608
2019-02-09T17:50:23
2019-02-09T17:50:23
168,390,444
0
0
null
null
null
null
UTF-8
Java
false
false
573
java
package com.usercrud.utill; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; @JsonInclude(Include.NON_NULL) public class APIStatus<H> { private String status; private String message; private H entity; public APIStatus(String status, String message, H entity) { super(); this.status = status; this.message = message; this.entity = entity; } public String getStatus() { return status; } public String getMessage() { return message; } public H getEntity() { return entity; } }
[ "harshsinghal1010@gmail.com" ]
harshsinghal1010@gmail.com
12f15bccf305f814f7bd9a18df63f79469da82ce
0e33d68695c49c0e54e0d2f96c5df5130557c6e1
/src/main/java/com/fu/epayment/web/rest/AccountResource.java
4e9ed4157b65855e29c7d4aa21c0a8e403838820
[]
no_license
abualshosh/E-payment
33f538a5373a03d0de2ea984d0d11c5408702631
0790932e55bce9d81ce4ef71cdb53922f2722db5
refs/heads/main
2023-02-03T17:21:40.428126
2020-12-21T21:49:34
2020-12-21T21:49:34
null
0
0
null
null
null
null
UTF-8
Java
false
false
7,614
java
package com.fu.epayment.web.rest; import com.fu.epayment.domain.User; import com.fu.epayment.repository.UserRepository; import com.fu.epayment.security.SecurityUtils; import com.fu.epayment.service.MailService; import com.fu.epayment.service.UserService; import com.fu.epayment.service.dto.PasswordChangeDTO; import com.fu.epayment.service.dto.UserDTO; import com.fu.epayment.web.rest.errors.*; import com.fu.epayment.web.rest.vm.KeyAndPasswordVM; import com.fu.epayment.web.rest.vm.ManagedUserVM; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import java.util.*; /** * REST controller for managing the current user's account. */ @RestController @RequestMapping("/api") public class AccountResource { private static class AccountResourceException extends RuntimeException { private AccountResourceException(String message) { super(message); } } private final Logger log = LoggerFactory.getLogger(AccountResource.class); private final UserRepository userRepository; private final UserService userService; private final MailService mailService; public AccountResource(UserRepository userRepository, UserService userService, MailService mailService) { this.userRepository = userRepository; this.userService = userService; this.mailService = mailService; } /** * {@code POST /register} : register the user. * * @param managedUserVM the managed user View Model. * @throws InvalidPasswordException {@code 400 (Bad Request)} if the password is incorrect. * @throws EmailAlreadyUsedException {@code 400 (Bad Request)} if the email is already used. * @throws LoginAlreadyUsedException {@code 400 (Bad Request)} if the login is already used. */ @PostMapping("/register") @ResponseStatus(HttpStatus.CREATED) public void registerAccount(@Valid @RequestBody ManagedUserVM managedUserVM) { if (!checkPasswordLength(managedUserVM.getPassword())) { throw new InvalidPasswordException(); } User user = userService.registerUser(managedUserVM, managedUserVM.getPassword()); mailService.sendActivationEmail(user); } /** * {@code GET /activate} : activate the registered user. * * @param key the activation key. * @throws RuntimeException {@code 500 (Internal Server Error)} if the user couldn't be activated. */ @GetMapping("/activate") public void activateAccount(@RequestParam(value = "key") String key) { Optional<User> user = userService.activateRegistration(key); if (!user.isPresent()) { throw new AccountResourceException("No user was found for this activation key"); } } /** * {@code GET /authenticate} : check if the user is authenticated, and return its login. * * @param request the HTTP request. * @return the login if the user is authenticated. */ @GetMapping("/authenticate") public String isAuthenticated(HttpServletRequest request) { log.debug("REST request to check if the current user is authenticated"); return request.getRemoteUser(); } /** * {@code GET /account} : get the current user. * * @return the current user. * @throws RuntimeException {@code 500 (Internal Server Error)} if the user couldn't be returned. */ @GetMapping("/account") public UserDTO getAccount() { return userService.getUserWithAuthorities() .map(UserDTO::new) .orElseThrow(() -> new AccountResourceException("User could not be found")); } /** * {@code POST /account} : update the current user information. * * @param userDTO the current user information. * @throws EmailAlreadyUsedException {@code 400 (Bad Request)} if the email is already used. * @throws RuntimeException {@code 500 (Internal Server Error)} if the user login wasn't found. */ @PostMapping("/account") public void saveAccount(@Valid @RequestBody UserDTO userDTO) { String userLogin = SecurityUtils.getCurrentUserLogin().orElseThrow(() -> new AccountResourceException("Current user login not found")); Optional<User> existingUser = userRepository.findOneByEmailIgnoreCase(userDTO.getEmail()); if (existingUser.isPresent() && (!existingUser.get().getLogin().equalsIgnoreCase(userLogin))) { throw new EmailAlreadyUsedException(); } Optional<User> user = userRepository.findOneByLogin(userLogin); if (!user.isPresent()) { throw new AccountResourceException("User could not be found"); } userService.updateUser(userDTO.getFirstName(), userDTO.getLastName(), userDTO.getEmail(), userDTO.getLangKey(), userDTO.getImageUrl()); } /** * {@code POST /account/change-password} : changes the current user's password. * * @param passwordChangeDto current and new password. * @throws InvalidPasswordException {@code 400 (Bad Request)} if the new password is incorrect. */ @PostMapping(path = "/account/change-password") public void changePassword(@RequestBody PasswordChangeDTO passwordChangeDto) { if (!checkPasswordLength(passwordChangeDto.getNewPassword())) { throw new InvalidPasswordException(); } userService.changePassword(passwordChangeDto.getCurrentPassword(), passwordChangeDto.getNewPassword()); } /** * {@code POST /account/reset-password/init} : Send an email to reset the password of the user. * * @param mail the mail of the user. */ @PostMapping(path = "/account/reset-password/init") public void requestPasswordReset(@RequestBody String mail) { Optional<User> user = userService.requestPasswordReset(mail); if (user.isPresent()) { mailService.sendPasswordResetMail(user.get()); } else { // Pretend the request has been successful to prevent checking which emails really exist // but log that an invalid attempt has been made log.warn("Password reset requested for non existing mail"); } } /** * {@code POST /account/reset-password/finish} : Finish to reset the password of the user. * * @param keyAndPassword the generated key and the new password. * @throws InvalidPasswordException {@code 400 (Bad Request)} if the password is incorrect. * @throws RuntimeException {@code 500 (Internal Server Error)} if the password could not be reset. */ @PostMapping(path = "/account/reset-password/finish") public void finishPasswordReset(@RequestBody KeyAndPasswordVM keyAndPassword) { if (!checkPasswordLength(keyAndPassword.getNewPassword())) { throw new InvalidPasswordException(); } Optional<User> user = userService.completePasswordReset(keyAndPassword.getNewPassword(), keyAndPassword.getKey()); if (!user.isPresent()) { throw new AccountResourceException("No user was found for this reset key"); } } private static boolean checkPasswordLength(String password) { return !StringUtils.isEmpty(password) && password.length() >= ManagedUserVM.PASSWORD_MIN_LENGTH && password.length() <= ManagedUserVM.PASSWORD_MAX_LENGTH; } }
[ "sariahussein3@gmail.com" ]
sariahussein3@gmail.com
bd83992694baed0ae09571a5f22b9b91b836c884
7faa8436f14704a0b9c7d5ab119c7d717d25d0b1
/stratinit-master/stratinit-rest/src/test/java/com/kenstevens/stratinit/server/rest/request/write/CedeCityTest.java
5ded1c291e267677b01bb473500ff1d4b2db4885
[]
no_license
fil512/stratinit
262ed97236c39c261184685040d4da87e8ad683d
60e804dbd0359cecd914015b4aff45be0d458e9f
refs/heads/master
2022-12-23T05:46:53.076552
2021-06-05T15:05:44
2021-06-05T15:05:44
54,049,345
0
0
null
2022-12-16T05:10:20
2016-03-16T16:40:45
Java
UTF-8
Java
false
false
2,243
java
package com.kenstevens.stratinit.server.rest.request.write; import com.google.common.collect.Lists; import com.kenstevens.stratinit.client.model.Sector; import com.kenstevens.stratinit.client.model.SectorSeen; import com.kenstevens.stratinit.client.model.Unit; import com.kenstevens.stratinit.dto.SICityUpdate; import com.kenstevens.stratinit.remote.Result; import com.kenstevens.stratinit.remote.request.CedeCityJson; import com.kenstevens.stratinit.server.rest.TwoPlayerBase; import org.junit.jupiter.api.Test; import java.util.List; import static org.junit.jupiter.api.Assertions.*; public class CedeCityTest extends TwoPlayerBase { @Test public void cedeCity() { allianceDeclared(); declareAlliance(); List<SICityUpdate> cities = stratInitController.getCities().getValue(); assertEquals(2, cities.size()); SICityUpdate sicity = cities.get(0); assertEquals(sicity.nationId, nationMeId); Sector sector = testWorld.getSectorOrNull(sicity.coords); SectorSeen sectorSeen = sectorDao.findSectorSeen(nationThem, sector); assertNull(sectorSeen); List<Unit> units = Lists.newArrayList(unitDao.getUnits(sector)); assertEquals(4, units.size()); assertEquals(nationMe, units.get(0).getNation()); stratInitController.cedeCity(new CedeCityJson(sicity, nationThemId)); cities = stratInitController.getCities().getValue(); assertEquals(1, cities.size()); SICityUpdate seenCity = findSeenCity(sicity); assertNotNull(seenCity); assertEquals(nationThemId, seenCity.nationId); units = Lists.newArrayList(unitDao.getUnits(sector)); assertEquals(4, units.size()); assertEquals(nationThem, units.get(0).getNation()); sectorSeen = sectorDao.findSectorSeen(nationThem, sector); assertNotNull(sectorSeen); } private SICityUpdate findSeenCity(SICityUpdate sicity) { Result<List<SICityUpdate>> seencities = stratInitController.getSeenCities(); for (SICityUpdate seenCity : seencities.getValue()) { if (seenCity.coords.equals(sicity.coords)) { return seenCity; } } return null; } }
[ "ken.stevens@sympatico.ca" ]
ken.stevens@sympatico.ca
be30dd7cca33784dc3cbae62b7f25aedde51880b
c21e87ed6e9a998e83249b3cf39aaf7174f5e37c
/src/zhenhua/sql/EncodingFilter.java
01ee909c7054c0dc59727ab6755a2034d84db056
[]
no_license
melodyjerry/chengxin1.0
3b28ab1af53bfa2bacd9d130f3f1a310d17d8303
86171c1c6780d5d72fc4309ed547cd672e16865c
refs/heads/master
2020-09-20T17:45:49.067687
2018-04-14T08:35:55
2018-04-14T08:35:55
null
0
0
null
null
null
null
UTF-8
Java
false
false
634
java
package zhenhua.sql; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; public class EncodingFilter implements Filter { public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { request.setCharacterEncoding("utf-8"); chain.doFilter(request, response); } public void destroy() { } public void init(FilterConfig filterConfig) throws ServletException { } }
[ "fengyangluoyue@163.com" ]
fengyangluoyue@163.com
88e15cb9ad980a5a1ad77a80a433efb3b5e20c80
b670fd4479c94625f07eb8e61a25bd9c351d6e99
/src/test/java/profiles/InteractionManagerImplTest.java
e0f5113f59da8cf9794e3892ae14a187fa6e1440
[]
no_license
Jeka1978/springtraining-Nice-2017-May
ab0144dd57413f9247306a730094d18a4bd986ed
bc2ec2b2e3a508b9aa2c7f5e92f98d6655f30c0f
refs/heads/master
2021-01-25T05:02:16.636441
2017-07-04T13:48:26
2017-07-04T13:48:26
93,504,327
0
0
null
null
null
null
UTF-8
Java
false
false
797
java
package profiles; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import static org.junit.Assert.*; /** * Created by Evegeny on 19/06/2017. */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = StamConf.class) @ActiveProfiles({"DEV"}) public class InteractionManagerImplTest { @Autowired private InteractionManager interactionManager; @Test public void doWork() throws Exception { int i = interactionManager.doWork(); Assert.assertEquals(28,i); } }
[ "papakita2009" ]
papakita2009
edb69188e0c738a7a812d78b8aaf1bdbd2822d6f
ff99fc5c30c29a3e8b54a01ba12910ebea6a990a
/DataStructure/src/stack/Calculator.java
b504b7f621a0139a729c0c69926d11157e847f1a
[]
no_license
422314646/leetcode
252463359cc14d58773b148d4b66a9d97e4440cf
3b10cd883b2335df5820f8c111b5a7a60304dc36
refs/heads/master
2023-01-05T03:35:27.668842
2020-10-27T14:29:19
2020-10-27T14:29:19
277,957,264
2
0
null
null
null
null
UTF-8
Java
false
false
5,575
java
package stack; public class Calculator { public static void main(String[] args) { //根据思路完成相应功能 String expression = "70+20*6-4"; ArrayStack2 numStack = new ArrayStack2(10); ArrayStack2 operStack = new ArrayStack2(10); //定义相关变量 int index = 0; int num = 0; int num1 = 0; int oper = 0; int res = 0; char ch =' ';//将每次扫描到的char保存到这里 String keepNum = "";//用于拼接多位数的 while (true){ //依次得到expression的每一个字符 ch = expression.charAt(index); //进行判断ch是什么,做相应判断 if (operStack.isOper(ch)){//如果是运算符 if (!operStack.isEmpty()){ //不为空,做相应的处理 if (operStack.priority(ch) <= operStack.priority(operStack.peek())){ num = numStack.pop(); num1 = numStack.pop(); oper = operStack.pop(); res = numStack.cal(num, num1, oper); //把运算符的结果入数栈 numStack.push(res); //把当前的符号栈入符号栈 operStack.push(ch); }else { //如果大于直接入符号栈 operStack.push(ch); } }else {//如果为空直接入栈 operStack.push(ch); } }else { //如果是数直接入数栈 //numStack.push(ch - 48); //1.当处理多位数数时,不能发现是一个数就立即入栈 //2.在处理数,需要向expression的表达式的index后再看一位,如果是数就进行扫描,如果是符号才入栈 //3.因此我们需要定义一个变量字符串,用于拼接 //处理多位数 keepNum = keepNum + ch; //如果ch已经是最后一位,就直接入栈 if (index == expression.length() - 1){ numStack.push(Integer.parseInt(keepNum)); }else { if (operStack.isOper(expression.charAt(index+1))){ numStack.push(Integer.parseInt(keepNum)); keepNum = ""; } } } //让index + 1,并判断是否扫描到expression最后 index++; if (index >= expression.length()){ break; } } while (true){ //如果符号为空,则计算到最后的结果,数栈只有一个数字 if (operStack.isEmpty()){ break; } num = numStack.pop(); num1 = numStack.pop(); oper = operStack.pop(); res = numStack.cal(num, num1, oper); //把运算符的结果入数栈 numStack.push(res); } System.out.printf("表达式%s = %d",expression,numStack.pop()); } } //定义一个栈但是需要扩展相应的功能 class ArrayStack2{ private int maxSize;//栈的大小 private int[] stack;//数组模拟栈 private int top = -1;//top表示栈顶,初始化为-1 //构造器 public ArrayStack2(int maxSize){ this.maxSize = maxSize; stack = new int[maxSize]; } //判断栈满 public boolean isFull(){ return top == maxSize - 1; } //判断栈空 public boolean isEmpty(){ return top == -1; } //入栈 push public void push(int value){ if (isFull()){ System.out.println("栈满,不能入栈"); return; } top++; stack[top] = value; } //出栈 pop public int pop(){ if (isEmpty()){ throw new RuntimeException("栈空,不能出栈"); } int value = stack[top]; top--; return value; } //遍历栈 public void list(){ if (isEmpty()){ System.out.println("栈空,没有数据"); return; } for (int i = top; i >= 0; i--){ System.out.printf("stack[%d]=%d\n",i,stack[i]); } } //返回运算符的优先级,优先级是我们定的 //数字越大,则优先级就越高 public int priority(int oper){ if (oper == '*' || oper == '/'){ return 1; }else if (oper == '-' || oper == '+'){ return 0; }else { return -1;//目前只有加减乘除 } } //增加可以查看栈顶值的方法,而不返回值 public int peek(){ return stack[top]; } //判断是不是运算符 public boolean isOper(char val){ return val == '+' || val == '-' || val == '*' || val == '/'; } //计算方法 public int cal(int num, int num1, int oper){ int res = 0; switch (oper){ case '+': res = num + num1; break; case '-': res = num1 - num; break; case '*': res = num * num1; break; case '/': res = num1 / num; break; default: break; } return res; } }
[ "422314646@qq.com" ]
422314646@qq.com
8b2cfaf49e73a2e3580f7103491548b7cb8de94f
ce414d6fdaa8e8c8ae8b4bdc89b40a205abe0e14
/app/src/main/java/com/home/yassine/taxinow/types/INetworkType.java
75f4523932a54d99032d7073ecc39fd4bfb988a9
[ "MIT" ]
permissive
karjek/TaxiNow-1
72d7f12cdb50eb4c81bf047014233707851d2f61
f83905707e9c42c64d8561fb4c096360f187b101
refs/heads/master
2021-01-20T13:43:30.538341
2017-01-12T18:07:18
2017-01-12T18:07:18
null
0
0
null
null
null
null
UTF-8
Java
false
false
300
java
package com.home.yassine.taxinow.types; import org.json.JSONException; import org.json.JSONObject; /** * Created by Yassine on 20/09/2016. */ public interface INetworkType { void unpack(JSONObject jsonReader) throws JSONException; void pack(JSONObject jsonWriter) throws JSONException; }
[ "ryuuke@live.fr" ]
ryuuke@live.fr
175f708027e37fa8a6689d697b7042d899d65e32
fa573ffdee6770262db8e2c8a073ca100ea5b752
/app/src/main/java/com/framework/base/widget/DrawBothCenterTextView.java
8b10490e6b393f80b30d8c6c058a2a67ed03d2f9
[]
no_license
jsjjkqb/AndroidXFramework
b67736b2eaf34ad81ecceb48ab91ad0e2b9a9352
dc7abf39998c7e323876ad38d39fb5509f86a023
refs/heads/master
2020-05-04T09:54:37.814963
2019-08-13T01:59:48
2019-08-13T01:59:48
179,078,335
0
0
null
null
null
null
UTF-8
Java
false
false
3,274
java
package com.framework.base.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.os.Build; import android.util.AttributeSet; import androidx.appcompat.widget.AppCompatTextView; import com.framework.test.R; /** * drawable和文本居中显示 * 如果左右都有drawable则不能用该类,需要重新继承TextView,覆写onDraw */ public class DrawBothCenterTextView extends AppCompatTextView { private Bitmap drawLeft; private Bitmap drawRight; private String text = ""; public DrawBothCenterTextView(Context context) { super(context); } public DrawBothCenterTextView(Context context, AttributeSet attrs) { super(context, attrs); TypedArray typed = context.obtainStyledAttributes(attrs, R.styleable.DrawBothCenterTextView); if (typed != null) { int drawLeftId = typed.getResourceId(R.styleable.DrawBothCenterTextView_drawableLeft, 0); int drawRightId = typed.getResourceId(R.styleable.DrawBothCenterTextView_drawableRight, 0); text = typed.getString(R.styleable.DrawBothCenterTextView_text); drawLeft = getBitmap(context, drawLeftId); drawRight = getBitmap(context, drawRightId); typed.recycle(); } } public DrawBothCenterTextView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); } @Override protected void onDraw(Canvas canvas) { float textWidth = getPaint().measureText(text); int drawPadding = getCompoundDrawablePadding(); int padding = getPaddingLeft() + getPaddingRight(); int bodyWidth = 0; int height = getHeight(); if (drawLeft != null) { bodyWidth += drawLeft.getWidth(); // icon在左侧 canvas.drawBitmap(drawLeft, 0, (height-drawLeft.getHeight())/2, getPaint()); } if (textWidth > 0) { canvas.drawText(text, bodyWidth, getTextSize(), getPaint()); bodyWidth += textWidth; } if (drawRight != null) { // icon在右侧 canvas.drawBitmap(drawRight, bodyWidth, (height-getTextSize())/2, getPaint()); bodyWidth += drawRight.getWidth(); } bodyWidth += drawPadding * 2; canvas.translate((getWidth() - bodyWidth - padding)/2, 0); super.onDraw(canvas); } private Bitmap getBitmap(Context context,int vectorDrawableId) { Bitmap bitmap=null; if (Build.VERSION.SDK_INT>Build.VERSION_CODES.LOLLIPOP){ Drawable vectorDrawable = context.getDrawable(vectorDrawableId); bitmap = Bitmap.createBitmap(vectorDrawable.getIntrinsicWidth(), vectorDrawable.getIntrinsicHeight(), Bitmap.Config.RGB_565); Canvas canvas = new Canvas(bitmap); vectorDrawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); vectorDrawable.draw(canvas); }else { bitmap = BitmapFactory.decodeResource(getResources(), vectorDrawableId); } return bitmap; } }
[ "leiving123@163.com" ]
leiving123@163.com
33d904a1f88a52262cd99973edb88e57758d439b
3c030192d42d24c835b9f2bb31ad0cf65872bd1a
/UzayOyunuProjesi/src/Oyun.java
b5e6bc696f42fb75daee64d09c2feeb05a84b7a9
[]
no_license
onuryalcin-1/RaffleAplication
b71d147512e32395cfba2e3d99b6552ebd5e0506
80d791a39d398d6088140b1f1bea80ce2ef1dda6
refs/heads/master
2023-02-13T13:29:14.483364
2020-12-21T13:32:39
2020-12-21T13:32:39
323,345,533
0
0
null
null
null
null
UTF-8
Java
false
false
6,879
java
import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import javax.imageio.ImageIO; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.Timer; class Ates{ //Ateşimizin bir x, y koordinatı olacak ve her actionPerformed çalıştığında ateşimiz bir ileri gitmeye çalışacak private int x; //X Koordinatı private int y; //Y Koordinatı public Ates(int x, int y) { this.x = x; this.y = y; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } public void setY(int y) { this.y = y; } } public class Oyun extends JPanel implements KeyListener,ActionListener{ //KeyListener interface klavyeden bir tuşa basıldığında gerekli metodları kullanabilmemizi sağlar //ActionListener interface nesnelere hareket kazandırmak için kullanılır Timer timer = new Timer(5, this); private int gecen_sure = 0; private int harcanan_ates = 0; private BufferedImage image;//proje içerisindeki .png dosyasını alarak JPanel üzerinde kullanmamız için obje oluşturduk private ArrayList<Ates> atesler = new ArrayList<Ates>(); //Ateşlerimiz yukarı doğru gidiyor sağa sola gitmiyor. Ateşleri her timer çalıştığında 1 ileri götürmek için atesdirY = 1 olur //sağa sola hareket etmediği için topX = 0 tanımlarız private int atesdirY = 1; //Ateşler oluşacak ve bu ates her actionPerformed çalıştığında o ateşleri Y koordinatına ekleyeceğiz ve böylelikle ateşlerimiz hareket edecek private int topX = 0; //Sağa sola gitmeyi ayarlar ve ilk başta top 0,0 noktasından başlar bu top'ı sürekli bir artıracağız böylece tpumuz sürekli hareket edecek private int topdirX = 2;// topdirX sürekli topX e eklenecek, böylece topX sağda belli bir limite çarptığı zaman sola dönecek private int uzayGemisiX = 0; // Uzay Gemisinin ilk olarak hangi noktadan başlayacağını gösterir private int dirUZayX = 20; // Bu sayede sağ veya sol yön tuşuna bastığımızda uzay gemisi 20 birim hareket edecek public boolean kontrolEt(){ for(Ates ates : atesler){ if(new Rectangle(ates.getX(), ates.getY(), 10, 20).intersects(new Rectangle(topX, 0,20,20))){ //Intersects iki karenin birbirine çarpıp çarpmadığını kontrol etmek için kullanılır return true; } } return false; } public Oyun(){ try { image = ImageIO.read(new FileInputStream(new File("uzaygemisi.png"))); //image nesnesini ImageIO clasından okutarak uzaygemisi.png ekleyerek oluşturduk } catch (FileNotFoundException ex) { Logger.getLogger(Oyun.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(Oyun.class.getName()).log(Level.SEVERE, null, ex); } setBackground(Color.black);//JPanel arka plan rengi siyah yapıldı. timer.start(); } @Override public void paint(Graphics g) { super.paint(g); //To change body of generated methods, choose Tools | Templates. gecen_sure += 5; g.setColor(Color.red); g.fillOval(topX, 0, 20, 20); //Başlangıç noktası 0,0 Y hiç hareket etmeyeceği için direk 0 yazıldı. topX güncellendikçe top X-X yönünde hareket edecek. //20,20 topun çapı g.drawImage(image, uzayGemisiX, 490, image.getWidth()/10,image.getHeight()/10,this); for(Ates ates : atesler){ if(ates.getY() < 0){ atesler.remove(ates); } } g.setColor(Color.blue); for(Ates ates : atesler){ g.fillRect(ates.getX(), ates.getY(), 10, 20); } if(kontrolEt()){ timer.stop(); String message = "Kazandınıız \n"+ "Harcanan Ateş : " + harcanan_ates +"\n"+ "Geçen süre : " + gecen_sure / 1000.0; JOptionPane.showMessageDialog(this, message); System.exit(0); } } @Override public void repaint() { super.repaint(); //To change body of generated methods, choose Tools | Templates. //aslında Repaint çağrıldığında paintte birlikte çağrılır //repaint() oyunlarda kesin yazılmalıdır //ActionPerformed fonksiyonu yazıldığında bu metot en sonda yazılacak ve şekillerimizi yeniden çizme işlemini yapacak //Bu metot sayesinde paint yeniden çalıştırıl ve şekiller çizilir } @Override public void keyTyped(KeyEvent e) { } @Override public void keyPressed(KeyEvent e) { int c = e.getKeyCode(); if(c == KeyEvent.VK_LEFT){ if(uzayGemisiX <= 0){ uzayGemisiX = 0; }else{ uzayGemisiX -= dirUZayX; } } if(c == KeyEvent.VK_RIGHT){ if(uzayGemisiX >= 750){ uzayGemisiX = 750; }else{ uzayGemisiX += dirUZayX; } } else if(c == KeyEvent.VK_CONTROL){ atesler.add(new Ates(uzayGemisiX+15,470)); harcanan_ates++; } } @Override public void keyReleased(KeyEvent e) { } @Override public void actionPerformed(ActionEvent e) { //ActionListener interface içerisinde ki bu actionPerformed metodu timer her çalıştığı zaman bu metot harekete geçer ve topları hareket ettirmeyi sağla for(Ates ates : atesler){ ates.setY(ates.getY() - atesdirY); } topX += topdirX; if(topX >= 750){ topdirX = -topdirX; } if(topX <=0){ topdirX = -topdirX; } repaint(); } }
[ "o.yalcin17@gmail.com" ]
o.yalcin17@gmail.com
0e6d046715ff820e9803d49efb582c9f5bb5699e
28df09388cf9d70501a7ce2336a98f074d73fce8
/app/src/main/java/com/project/dajver/dagger2testexample/SecondActivity.java
016175a72c9ede0b222600961f2c5238cdfc740f
[]
no_license
Svetlana17/Dagger2-Retrofit2-Example
05b181f8b7dd4553698fadace3ea04b399d6a29f
8533698127f8ce7d7e7e1699ecd315feaafc5fa4
refs/heads/master
2020-04-14T09:37:31.330676
2017-08-21T22:53:19
2017-08-21T22:53:19
163,764,526
0
0
null
null
null
null
UTF-8
Java
false
false
1,074
java
package com.project.dajver.dagger2testexample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import com.project.dajver.dagger2testexample.api.model.imp.FetchedDataPresenterImpl; import javax.inject.Inject; import butterknife.BindView; import butterknife.ButterKnife; /** * Created by gleb on 8/18/17. */ public class SecondActivity extends AppCompatActivity { public static final String EXTRA_POSITION = "position"; @BindView(R.id.text) TextView text; @Inject FetchedDataPresenterImpl fetchedData; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_second); ButterKnife.bind(this); App.component().inject(this); int position = getIntent().getIntExtra(EXTRA_POSITION, 0); text.setText("Name: " + fetchedData.getGitHubData(position).getName() + "\nDescription: " + fetchedData.getGitHubData(position).getDescription()); } }
[ "lfqdth5@gmail.com" ]
lfqdth5@gmail.com
710f3e059bb0f6801a974808f153b3b40d11191b
11bf382f6be2b946308b310450454cf9ab2ea4b2
/app/src/test/java/com/yumingchuan/syncthread/ExampleUnitTest.java
173cfc185f31b065a63be4b2fc615d70d0199c06
[]
no_license
AllureCool/MultiThreadDemo
9c4f877570f1c3d92000b849f2732efc452b7b27
6dad56249243c03a0fd7056728c00347adbafc20
refs/heads/master
2021-08-14T23:52:53.205473
2017-11-17T01:40:03
2017-11-17T01:40:03
null
0
0
null
null
null
null
UTF-8
Java
false
false
404
java
package com.yumingchuan.syncthread; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
[ "1107963848@qq.com" ]
1107963848@qq.com
1d2cc6a94876cb00bf10d09af5d2020f96504c90
c67e9fea04d6b9f2ec4a3c60690f800372fdb29f
/app/src/main/java/com/example/yen/imdb/dependency/module/ActivityModule.java
5b6f7fd4d61f0f02b99593ae7c87f698be7935c4
[]
no_license
irfanirawansukirman/MyAPIFilms
f977f44f99882880f5af225e15cf6cb6632d150d
3082c243e7434913be663b76f9875a66ec5bf35b
refs/heads/master
2021-01-22T01:43:05.168738
2017-07-13T21:33:22
2017-07-13T21:33:22
null
0
0
null
null
null
null
UTF-8
Java
false
false
443
java
package com.example.yen.imdb.dependency.module; import android.app.Activity; import com.example.yen.imdb.dependency.scope.PerActivity; import dagger.Module; import dagger.Provides; @Module public class ActivityModule { private final Activity activity; public ActivityModule(Activity activity) { this.activity = activity; } @Provides @PerActivity Activity provideActivity() { return this.activity; } }
[ "rascalyen@gmail.com" ]
rascalyen@gmail.com
f6c4765435f5eb8a162f91c9165cb9620f976cee
71e5204258288939cb7215bd2ab5afc433ba1343
/src/哈希表/M2扩容.java
e84b12381fe221a826cd805b929680269242fb76
[]
no_license
BryceLINWang/LeetCode
ddc1010263a5b46adf9c27951636bd6a968f84d0
44f677750549c29bc6f013fa25dd09f9412c4eb3
refs/heads/master
2021-07-17T16:10:22.812144
2020-11-09T08:02:16
2020-11-09T08:02:16
224,220,843
0
0
null
null
null
null
UTF-8
Java
false
false
1,814
java
package 哈希表; public class M2扩容 { /** * 扩容 * HashMap每次扩容都是建立一个新的table数组,长度和容量阈值都变为原来的两倍,然后把原数组元素重新映射到新数组上,具体步骤如下: * * 首先会判断table数组长度,如果大于0说明已被初始化过,那么按当前table数组长度的2倍进行扩容,阈值也变为原来的2倍 * 若table数组未被初始化过,且threshold(阈值)大于0说明调用了HashMap(initialCapacity, loadFactor)构造方法,那么就把数组大小设为threshold * 若table数组未被初始化,且threshold为0说明调用HashMap()构造方法,那么就把数组大小设为16,threshold设为16*0.75 * 接着需要判断如果不是第一次初始化,那么扩容之后,要重新计算键值对的位置,并把它们移动到合适的位置上去,如果节点是红黑树类型的话则需要进行红黑树的拆分。 * 这里有一个需要注意的点就是在JDK1.8 HashMap扩容阶段重新映射元素时不需要像1.7版本那样重新去一个个计算元素的hash值, * 而是通过hash & oldCap的值来判断,若为0则索引位置不变,不为0则新索引=原索引+旧数组长度,为什么呢?具体原因如下: * * 链表树化 * 指的就是把链表转换成红黑树,树化需要满足以下两个条件: * * 链表长度大于等于8 * table数组长度大于等于64 * 为什么table数组容量大于等于64才树化? * * 因为当table数组容量比较小时,键值对节点 hash 的碰撞率可能会比较高,进而导致链表长度较长。 * 这个时候应该优先扩容,而不是立马树化。 */ }
[ "Brycewlinw@163.com" ]
Brycewlinw@163.com
e4bf95b6a312889aa3daa53d55a458d588b12509
457adf23ceb5a42950cf8179ca9ccec0d726d423
/src/main/java/businessLogic/BLFacadeImplementation.java
97e53f486a05742f43e9bb74a803470fb0378a4b
[]
no_license
aristegui/Bets
6103ab6206bef03338c18c8ec6c2959cf352c141
59779f36a30956cd21f3b365a55ab2ae71072db5
refs/heads/main
2022-12-28T17:11:08.309675
2020-10-11T16:01:19
2020-10-11T16:01:19
302,400,851
0
0
null
null
null
null
UTF-8
Java
false
false
3,492
java
package businessLogic; /** * A BLFacade interface implementation that describe the business logic. */ import java.util.Date; import java.util.ResourceBundle; import java.util.Vector; import javax.jws.WebMethod; import javax.jws.WebService; import configuration.ConfigXML; import dataAccess.DataAccess; import domain.Question; import domain.Event; import exceptions.EventFinished; import exceptions.QuestionAlreadyExist; /** * It implements the business logic as a web service. */ @WebService(endpointInterface = "businessLogic.BLFacade") public class BLFacadeImplementation implements BLFacade { DataAccess dbManager; public BLFacadeImplementation() { System.out.println("Creating BLFacadeImplementation instance"); ConfigXML c=ConfigXML.getInstance(); if (c.getDataBaseOpenMode().equals("initialize")) { dbManager=new DataAccess(c.getDataBaseOpenMode().equals("initialize")); dbManager.initializeDB(); dbManager.close(); } } public BLFacadeImplementation(DataAccess da) { System.out.println("Creating BLFacadeImplementation instance with DataAccess parameter"); ConfigXML c=ConfigXML.getInstance(); if (c.getDataBaseOpenMode().equals("initialize")) { da.open(true); da.initializeDB(); da.close(); } dbManager=da; } /** * This method creates a question for an event, with a question text and the minimum bet * * @param event to which question is added * @param question text of the question * @param betMinimum minimum quantity of the bet * @return the created question, or null, or an exception * @throws EventFinished if current data is after data of the event * @throws QuestionAlreadyExist if the same question already exists for the event */ @WebMethod public Question createQuestion(Event event, String question, float betMinimum) throws EventFinished, QuestionAlreadyExist{ //The minimum bed must be greater than 0 dbManager.open(false); Question qry=null; if(new Date().compareTo(event.getEventDate())>0) throw new EventFinished(ResourceBundle.getBundle("Etiquetas").getString("ErrorEventHasFinished")); qry=dbManager.createQuestion(event,question,betMinimum); dbManager.close(); return qry; }; /** * This method invokes the data access to retrieve the events of a given date * * @param date in which events are retrieved * @return collection of events */ @WebMethod public Vector<Event> getEvents(Date date) { dbManager.open(false); Vector<Event> events=dbManager.getEvents(date); dbManager.close(); return events; } /** * This method invokes the data access to retrieve the dates a month for which there are events * * @param date of the month for which days with events want to be retrieved * @return collection of dates */ @WebMethod public Vector<Date> getEventsMonth(Date date) { dbManager.open(false); Vector<Date> dates=dbManager.getEventsMonth(date); dbManager.close(); return dates; } public void close() { DataAccess dB4oManager=new DataAccess(false); dB4oManager.close(); } /** * This method invokes the data access to initialize the database with some events and questions. * It is invoked only when the option "initialize" is declared in the tag dataBaseOpenMode of resources/config.xml file */ @WebMethod public void initializeBD(){ dbManager.open(false); dbManager.initializeDB(); dbManager.close(); } }
[ "noreply@github.com" ]
noreply@github.com
5d1f9b19e6f8f10532d02e3f3e4f34c5b667c33e
9a78ed0096513ca21548a15df504d6bb0f5dc26a
/ESF/workjuno/HASPJuly2012/HASP/src/SHEMInternalFrame.java
fd2fbe36aee8f58d9777ca929e6052f5a5cf8e19
[]
no_license
JerryWaterman/ESF
c4a626bbd6101a31db5a41d932be152539dd38c0
c5b9850f4dd563fecaa993887c305daaced2e0b7
refs/heads/master
2020-05-16T20:25:30.585437
2012-11-10T16:45:53
2012-11-10T16:45:53
null
0
0
null
null
null
null
UTF-8
Java
false
false
888
java
import javax.swing.JInternalFrame; /* Used by InternalFrameDemo.java. */ public class SHEMInternalFrame extends JInternalFrame { /** * */ private static final long serialVersionUID = 1L; static int openFrameCount = 0; static final int xOffset = 200, yOffset = 50; public SHEMInternalFrame() { super("HASP Login Screen " + (++openFrameCount), true, //resizable true, //closable true, //maximizable true);//iconifiable if (openFrameCount == 4){ System.exit(0); } //...Create the GUI and put it in the window... //...Then set the window size or call pack... setSize(300,300); //Set the window's location. setLocation(xOffset*openFrameCount, yOffset*openFrameCount); } }
[ "jerry@jerry-PC" ]
jerry@jerry-PC
9e22fdfcbddaeab6b5d8e02f45b266fa2ea7f1e9
6282f1893f999794c8a5634714be243178c4ce99
/In-Class_Application/ClassApplikation/app/src/androidTest/java/com/example/mapstest/classapplikation/ApplicationTest.java
9e8ea21363a691aae87428bafbeba709d2786544
[]
no_license
Martichoras/Medialogy-App-Development
5fa216e7103ae6e69c68a77db1b26b9aa76e236b
c91fd8b5bc4d087fcb12f0f6766daf8ddee8b848
refs/heads/master
2021-03-12T20:33:13.771709
2015-04-15T20:01:56
2015-04-15T20:01:56
33,990,517
0
0
null
null
null
null
UTF-8
Java
false
false
357
java
package com.example.mapstest.classapplikation; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(Application.class); } }
[ "emil@rhoeg.dk" ]
emil@rhoeg.dk
e97cac04bcb0a706fc87f93186cbdf7a65075496
5f7020cf3faf91beb1e5c00f6bb0863e44610664
/web/src/main/java/com/infoshareacademy/gitloopersi/domain/jsonapi/TeamVacationStatResponse.java
fa4bcb606352d5c959e3752e03e3f6994aad0b29
[]
no_license
MaciejDzieciuch/jjdd7-gitLoopersi
30357212c49fadd6cbfdae10aaef03a36155c20a
8156635efcb0ac74c5b4c41e65f5b8825215e145
refs/heads/develop
2020-08-04T13:54:59.668065
2019-10-10T20:57:20
2019-10-10T20:57:20
212,158,973
1
0
null
2019-10-08T14:21:42
2019-10-01T17:35:14
null
UTF-8
Java
false
false
725
java
package com.infoshareacademy.gitloopersi.domain.jsonapi; import com.fasterxml.jackson.annotation.JsonProperty; public class TeamVacationStatResponse { @JsonProperty("teamName") private String teamName; @JsonProperty("quantity") private Integer quantity; public TeamVacationStatResponse() { } public TeamVacationStatResponse(String teamName, Integer quantity) { this.teamName = teamName; this.quantity = quantity; } public String getTeamName() { return teamName; } public void setTeamName(String teamName) { this.teamName = teamName; } public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } }
[ "marek_sitarski@vp.pl" ]
marek_sitarski@vp.pl
12188f2a109f9df6313a7e583454d4363970650e
3e41d125913b7227c08450347d7f8178f6cc5d07
/ivela-commons/src/main/java/br/ufc/ivela/commons/dao/interfaces/PostDao.java
2d4b5ce2dac78e91df8d43a4a5b502f129b63cba
[]
no_license
damico/ivela
8c0c0c5d3bad24c86ab3d31763424a02fd1fd108
592076fff2b7c77cefa080812c98b0d06bea0e25
refs/heads/master
2016-08-05T11:36:47.727743
2013-08-03T23:12:25
2013-08-03T23:12:25
32,124,040
0
0
null
null
null
null
UTF-8
Java
false
false
2,383
java
/* ############################################################################################# # Copyright(c) 2009 by IBM Brasil Ltda and others # # This file is part of ivela project, an open-source # # Program URL : http://code.google.com/p/ivela/ # # # # This program is free software; you can redistribute it and/or modify it under the terms # # of the GNU General Public License as published by the Free Software Foundation; either # # version 3 of the License, or (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # See the GNU General Public License for more details. # # # ############################################################################################# # File: POstDao.java # # Document: Post Dao Interface # # Date - Author(Company) - Issue# - Summary # # 10-SEP-2009 - otofuji (Instituto Eldorado) - 000016 - Initial Creation # ############################################################################################# */ package br.ufc.ivela.commons.dao.interfaces; import java.util.List; import br.ufc.ivela.commons.dao.GenericDao; import br.ufc.ivela.commons.model.Post; public interface PostDao<T> extends GenericDao<T> { public String getPostListCountQuery(Long systemUser, boolean isAdministrator,boolean isPublic, Long topic); public String getPostListQuery(Long systemUser, boolean isAdministrator,boolean isPublic, Long topic); public List<Post> getPostList(Long systemUser, boolean isAdministrator, boolean isPublic, Long topic); public List<Post> getPostList(Long topic); }
[ "fabio.fantato@337e1542-b571-11dd-8d2d-9519526c4844" ]
fabio.fantato@337e1542-b571-11dd-8d2d-9519526c4844
99a6c65d0676973feff7b5568e0b79c8ebe16698
197bb362eb1875f2afbcf9c3572f66628e9d8b57
/app/src/main/java/com/small/small/goal/utils/TimeUtils.java
24df001e648894c0a6876efecfecb8a59a253b23
[]
no_license
w1021508536/goal
2a974b0b6743ff7eeb6d744a3a19ec79ffa31621
cfbabf708218452cd9d80701a032c25b7ce68796
refs/heads/master
2021-01-23T02:06:19.321173
2017-08-04T08:40:27
2017-08-04T08:40:28
92,905,548
0
0
null
null
null
null
UTF-8
Java
false
false
5,852
java
package com.small.small.goal.utils; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** *        ┏┓   ┏┓+ + *        ┏┛┻━━━┛┻┓ + + *        ┃       ┃ *        ┃   ━   ┃ ++ + + + *        ████━████ ┃+ *        ┃       ┃ + *        ┃   ┻   ┃ *        ┃       ┃ + + *        ┗━┓   ┏━┛ *          ┃   ┃ *          ┃   ┃ + + + + *          ┃   ┃    Code is far away from bug with the animal protecting *          ┃   ┃ +     神兽保佑,代码无bug *          ┃   ┃ *          ┃   ┃  + *          ┃    ┗━━━┓ + + *          ┃        ┣┓ *          ┃        ┏┛ Author:XiaoFei Zhai *          ┗┓┓┏━┳┓┏┛ + + + + *           ┃┫┫ ┃┫┫ *           ┗┻┛ ┗┻┛+ + + + */ public class TimeUtils { public static Timestamp getTodayStartTime(){ return getStartTime(new Date()); } public static Timestamp getStartTime(Date date){ Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND,0); date = calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getHourStart(Date date){ Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND,0); date = calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getMonthStartTime(Date date){ Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.DAY_OF_MONTH,1); calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND,0); date = calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getEndTime(Date date){ Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.HOUR_OF_DAY, 23); calendar.set(Calendar.MINUTE, 59); calendar.set(Calendar.SECOND, 59); calendar.set(Calendar.MILLISECOND,0); date = calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getMonthEndTime(Date date){ Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.DAY_OF_MONTH, calendar.getActualMaximum(Calendar.DAY_OF_MONTH)); calendar.set(Calendar.HOUR_OF_DAY, 23); calendar.set(Calendar.MINUTE, 59); calendar.set(Calendar.SECOND, 59); calendar.set(Calendar.MILLISECOND,0); date = calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getYesterdayStartTime(){ Date date = new Date();//取时间 Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.add(Calendar.DATE,-1);//把日期往前减少一天,若想把日期向后推一天则将负数改为正数 calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); calendar.set(Calendar.MILLISECOND,0); date=calendar.getTime(); return new Timestamp(date.getTime()); } public static Timestamp getYesterdayEndTime(){ Date date = new Date();//取时间 Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.add(Calendar.DATE,-1);//把日期往前减少一天,若想把日期向后推一天则将负数改为正数 calendar.set(Calendar.HOUR_OF_DAY, 23); calendar.set(Calendar.MINUTE, 59); calendar.set(Calendar.SECOND, 59); calendar.set(Calendar.MILLISECOND,0); date=calendar.getTime(); return new Timestamp(date.getTime()); } public static String dateFormat(String format,Date date){ if(null==date){ date = new Date(); } if(null==format){ format = "yyyy-MM-dd"; } SimpleDateFormat dateFormat = new SimpleDateFormat(format); return dateFormat.format(date); } public static String dateFormat(String format){ return dateFormat(format,null); } public static Timestamp currentTime(){ long now = System.currentTimeMillis(); return new Timestamp(now); } public static Timestamp addMonth(Timestamp timestamp,Integer month){ Calendar calendar = Calendar.getInstance(); calendar.setTime(timestamp); calendar.add(Calendar.MONTH,month); Date date = calendar.getTime(); return new Timestamp(date.getTime()); } }
[ "1021508536@qq.com" ]
1021508536@qq.com
8a027a96268c802b699fee0958c296f1a8ac6f9a
be73270af6be0a811bca4f1710dc6a038e4a8fd2
/crash-reproduction-moho/results/XWIKI-13616-6-27-FEMO-WeightedSum:TestLen:CallDiversity/org/xwiki/mail/internal/thread/SendMailRunnable_ESTest_scaffolding.java
38075e2500978f5854fc463dc5d58bbf5f6356b9
[]
no_license
STAMP-project/Botsing-multi-objectivization-using-helper-objectives-application
cf118b23ecb87a8bf59643e42f7556b521d1f754
3bb39683f9c343b8ec94890a00b8f260d158dfe3
refs/heads/master
2022-07-29T14:44:00.774547
2020-08-10T15:14:49
2020-08-10T15:14:49
285,804,495
0
0
null
null
null
null
UTF-8
Java
false
false
451
java
/** * Scaffolding file used to store all the setups needed to run * tests automatically generated by EvoSuite * Fri Apr 03 23:32:07 UTC 2020 */ package org.xwiki.mail.internal.thread; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.After; @EvoSuiteClassExclude public class SendMailRunnable_ESTest_scaffolding { // Empty scaffolding for empty test suite }
[ "pouria.derakhshanfar@gmail.com" ]
pouria.derakhshanfar@gmail.com
516b428191a9047880b395821cf70c622af1c4bb
4e3b9dd4a7b1605bb6831ebc5d5d4fb6e6907904
/Easy/testest.java
c05babbd7b3c5e7d6fc8c2a52e178c1f913d3e87
[]
no_license
Zealing/LeetCode
a1f83191eb2a0f74f5cdc6771ffdf06f7b48d72b
5d87554424e9c453c35c48d2014ab06c55ae639d
refs/heads/master
2021-01-22T11:47:19.331590
2015-09-05T05:48:12
2015-09-05T05:48:12
41,950,619
0
0
null
null
null
null
UTF-8
Java
false
false
458
java
import java.lang.reflect.Array; public class testest { private int id[] = new int[]{10,11,12}; private void union (int p, int q) { int pid = id[p]; int qid = id[q]; for (int i = 0; i <id.length; i++) { if (id[i] == id[p]) { id[i] = qid; } } for (int i = 0; i <id.length; i++) { System.out.println(id[i]); } } public static void main(String[] args) { // TODO Auto-generated method stub new testest().union(1, 2); } }
[ "Vermilion@Vermilion.local" ]
Vermilion@Vermilion.local
55d09e3f44016658e48b9c51359fad36a398cbd2
d2438467ecac9c090507c47730bbf6157f5c3d03
/SOFTWARE/Different used code/Andrew's lab code/USLocalizer.java
1f5feca0d6cd69297002003101966e56eca7a7b4
[]
no_license
chassan/DPM
1c17c2386d4d681501970e553789f0c363f4f3ef
264b315fbfeb12d8bc2ce0b3e9813b422a4c05ca
refs/heads/master
2021-01-10T19:31:04.009664
2016-01-12T22:26:00
2016-01-12T22:26:00
32,039,897
0
0
null
null
null
null
UTF-8
Java
false
false
5,964
java
import lejos.nxt.*; import lejos.util.*; public class USLocalizer { public enum LocalizationType { FALLING_EDGE, RISING_EDGE }; public static double ROTATION_SPEED = 30; public static int DISTANCE = 50; //for use in filtering distance measurements of Ultrasonic Sensor private Navigation nav; private Odometer odo; private TwoWheeledRobot robot; private UltrasonicSensor us; private LocalizationType locType; public USLocalizer(Odometer odo, UltrasonicSensor us, LocalizationType locType) { this.odo = odo; this.robot = odo.getTwoWheeledRobot(); this.us = us; this.locType = locType; this.nav = odo.getNavigation(); // switch off the ultrasonic sensor us.off(); } public void doLocalization() { double [] pos = new double [3]; //to hold position values from odometer double angleA, angleB; //to store values of angles used to calculate approximate heading double measure; //for storing temporary values of the filtered ultrasonic sensor readings if (locType == LocalizationType.FALLING_EDGE) { // rotate the robot until it sees no wall robot.setRotationSpeed(ROTATION_SPEED); //clockwise rotation measure=getFilteredData();//Get a value to start with while(measure<=DISTANCE) { measure=getFilteredData(); //will acquire values until no wall is seen (i.e. when measure is 255, exit loop) } // keep rotating until the robot sees a wall, then latch the angle while(measure>DISTANCE) { measure=getFilteredData(); //will acquire values until a wall is seen (i.e. when measure is less than or equal to DISTANCE, exit loop) } //getting current odometer values odo.getPosition(pos); //acquire current position values angleA = pos[2]; //first angle is A // switch direction and wait until it sees no wall robot.setRotationSpeed(-ROTATION_SPEED); //anti-clockwise rotation while(measure<=DISTANCE){ measure=getFilteredData(); //will acquire values until no wall is seen } // keep rotating until the robot sees a wall, then latch the angle while(measure>DISTANCE) { measure=getFilteredData(); //will acquire values until a wall is seen } //getting current odometer values odo.getPosition(pos); //acquire current position values angleB = pos[2]; //second angle is B //angleB needs to be negative for our calculation so... angleB = angleB - 360; // angleA is clockwise from angleB, so assume the average of the // angles to the right of angleB is 45 degrees past 'north' // update the odometer position (example to follow:) // odo.setPosition(new double [] {0.0, 0.0, 0.0}, new boolean [] {true, true, true}); //In this case we use the formula (45 - (angleA+angleB)/2) to calculate theta, we do not update x or y, because we have no way of gauging them at the moment //the theta calculated is the starting angle, and needs to be added to the current theta (i.e. pos[2]) //getting current odometer values odo.getPosition(pos); //acquire current position values odo.setPosition(new double [] {0.0, 0.0, pos[2] + (45-(angleA+angleB)/2.0)}, new boolean [] {false, false, true}); } else { /* * The robot should turn until it sees the wall, then look for the * "rising edges:" the points where it no longer sees the wall. * This is very similar to the FALLING_EDGE routine, but the robot * will face toward the wall for most of it. */ //rotate the robot until it sees a wall robot.setRotationSpeed(ROTATION_SPEED); //clockwise rotation measure=getFilteredData();//Get a value to start with while(measure>DISTANCE) { measure=getFilteredData();//Will do nothing until it sees a wall } //keep rotating until the robot sees no wall, then latch the angle while(measure<=DISTANCE) { measure=getFilteredData(); //will acquire values until no wall is seen } odo.getPosition(pos); //acquire current position values angleA = pos[2]; //first angle is A //switch direction and wait until the robot sees a wall robot.setRotationSpeed(-ROTATION_SPEED); while(measure>DISTANCE) { measure=getFilteredData(); //will acquire values until a wall is seen } //keep rotating until the robot sees no wall, then latch the angle while(measure<=DISTANCE) { measure=getFilteredData(); //will acquire values until no wall is seen } odo.getPosition(pos); //acquire current position values angleB = pos[2]; //second angle is B //angleB needs to be negative for our calculation so... angleB = angleB - 360; // angleA is anti-clockwise from angleB, so assume the average of the // angles to the left of angleB is 225 degrees past 'north' //In this case we use the formula (225 - (angleA+angleB)/2) to calculate theta, we do not update x or y, because we have no way of gauging them at the moment //the theta calculated is the starting angle, and needs to be added to the current theta (i.e. pos[2]) odo.getPosition(pos); odo.setPosition(new double [] {0.0, 0.0, pos[2] + (225-(angleA+angleB)/2.0)}, new boolean [] {false, false, true}); } } private int getFilteredData() { //if a result of 255 is measured by the ultrasonic sensor, a second value is acquired and used, just in case int distance = 0; //to hold measure from ultrasonic sensor // do a ping us.ping(); // wait for the ping to complete try { Thread.sleep(50); } catch (InterruptedException e) {} // there will be a delay here distance = us.getDistance(); if(distance==255) { //if value is 255, try again to make sure it is not a mistaken value of 255 // do a ping us.ping(); // wait for the ping to complete try { Thread.sleep(50); } catch (InterruptedException e) {} // there will be a delay here distance = us.getDistance(); } return distance; } }
[ "chowdhuryamirhossain@web014066.wireless.mcgill.ca" ]
chowdhuryamirhossain@web014066.wireless.mcgill.ca
37a9722c2e3aa84a83bcd9f7402c61e2fbd4a40b
3f080ffc48b62929211f54322903e80931497033
/src/experiment/Server.java
005f506a10a20c09e92333997ed3cdf863b73fa6
[]
no_license
zhenianqingren/LearnJavaCode
837a4986a277551a2840bf50d746b50f9773b9a2
010e694403fd6d946a436f5b283fb11f6fd8ab0a
refs/heads/master
2023-07-05T01:04:23.552368
2021-08-23T09:25:16
2021-08-23T09:25:16
397,854,957
0
0
null
null
null
null
UTF-8
Java
false
false
3,601
java
package experiment; import java.awt.Color; import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.rmi.ServerException; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextArea; import javax.swing.JTextField; public class Server { public static void main(String[] args) throws IOException { ServerFrame server = new ServerFrame();//启动 server.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); server.setVisible(true); } } class ServerFrame extends JFrame { JLabel ServerSet = new JLabel("服务器设置"); JLabel port = new JLabel("port:"); JLabel SayL = new JLabel("Say:"); JTextField Port = new JTextField(); JTextField Say = new JTextField(); JButton Start = new JButton("Start"); JButton SayB = new JButton("Say"); JTextArea Content = new JTextArea();//必要界面组件 ServerSocket ss = null; Socket socket = null;//负责通信的对象成员 public ServerFrame() { super("服务端"); Container contentpane = getContentPane(); contentpane.setBackground(new Color(220, 220, 220)); contentpane.setLayout(null); contentpane.add(ServerSet); contentpane.add(port); contentpane.add(Port); contentpane.add(Start); contentpane.add(Content); contentpane.add(SayL); contentpane.add(Say); contentpane.add(SayB); ServerSet.setBounds(5, 5, 70, 25); port.setBounds(5, 35, 30, 30); Port.setBounds(38, 35, 430, 30); Start.setBounds(480, 35, 80, 30); Content.setBounds(40, 100, 500, 350); SayL.setBounds(5, 490, 30, 30); Say.setBounds(38, 490, 430, 30); SayB.setBounds(480, 490, 80, 30);//界面的初始化 Start.addActionListener(new ActionListener() {//点击Start按钮后触发的操作 public void actionPerformed(ActionEvent e) { Content.append("Server Starting……\n"); Start.setEnabled(false); try { try { ss = new ServerSocket(Integer.parseInt(Port.getText()));//初始化ServerSocket } catch (ServerException e1) { Content.append("连接失败"); } socket = ss.accept();//准备接受套接字 Content.append("Client Connected" + "\n"); } catch (UnknownHostException e1) { e1.printStackTrace(); } catch (IOException e1) { e1.printStackTrace(); } ServerThread st = new ServerThread(); st.start();//开启线程,负责监听消息 } }); SayB.addActionListener(new ActionListener() {//点击Say后触发的操作 public void actionPerformed(ActionEvent e) { try { OutputStream os = socket.getOutputStream(); OutputStreamWriter osw = new OutputStreamWriter(os); String str = Say.getText(); osw.write(str + "\n"); osw.flush();//将对话框中输入的文字发送给客户端 Say.setText("");//发送后清空对话框 } catch (IOException e1) { e1.printStackTrace(); } } }); setSize(600, 600); } class ServerThread extends Thread { public void run() { try { InputStreamReader in = new InputStreamReader(socket.getInputStream()); int len; char buffer[] = new char[1024]; while ((len = in.read(buffer)) != -1) Content.append(new String(buffer, 0, len));//接收消息的线程,从套接字中进行消息读取 } catch (Exception e) { System.out.println("Socket已关闭"); } } } }
[ "502804458@qq.com" ]
502804458@qq.com
4b72eb9d1a8ba6fad98069600481c062f1a3526d
e08e0e74f2762cfcea0c2aef6fa9a03677a48b5f
/gerenciar/src/gerenciar/Equipe.java
96b580ae90f949076e3b0330f67c35735f2cc4ad
[ "Apache-2.0" ]
permissive
Alexandre-Caetano-eng/TrabalhoBD
d62e6c039bd5567f0fcfaa0d07d514849bc41003
a5f9cb9f4933acd3d9b8da7695663f3ffcf95aa3
refs/heads/main
2023-06-02T07:30:06.043671
2021-06-19T03:32:28
2021-06-19T03:32:28
371,838,218
0
1
Apache-2.0
2021-06-19T03:27:55
2021-05-28T23:18:58
Java
ISO-8859-1
Java
false
false
1,654
java
package gerenciar; public class Equipe { public static BancoDeDadosEquipe bdE = new BancoDeDadosEquipe(); public void cadastrarEquipe() { String nome="", verifica; System.out.println("Digite o nome da equipe ou deixe vazio para sair"); nome = MenuInicial.in.next(); verifica = nome.trim(); if(verifica!="") { bdE.cadastroEquipe(nome); }else { System.out.println("Saindo do cadastro de Equipe."); } } public void deletarEquipe() { int id=-1; do { System.out.println("Digite o id da equipe ou digite -1 para sair"); id = MenuInicial.in.nextInt(); if(id!=-1) { if(bdE.verificaEquipeExiste(id)==true) { bdE.DeletarEquipe(id); id=-1; }else { System.out.println("Equipe não encontrada."); } } else{ System.out.println("Saindo do cadastro de Equipe."); } }while(id!=-1); } public void visualizar() { int escolhaE=0; do { System.out.println("Menu das Equipes"); System.out.println("---------------------------------------------------------------------------"); bdE.selecionaEquipes(); System.out.println("---------------------------------------------------------------------------"); System.out.println("Opções: 1-Cadastrar equipe 2-Deletar equipe 0-Sair"); escolhaE = MenuInicial.in.nextInt(); switch(escolhaE) { case 1: cadastrarEquipe(); break; case 2: deletarEquipe(); break; case 0: System.out.println("Saindo..."); break; default: System.out.println("Opção inválida."); } }while(escolhaE!=0); } public Equipe() { } }
[ "noreply@github.com" ]
noreply@github.com
f3ae06709db1d2f7fef44a2ccd2511bb1a4d6343
8e94005abdd35f998929b74c19a86b7203c3dbbc
/src/facebook/math/StringTToInteger.java
16f88ea1b05d82fb9c1eea150059826fa4fa121b
[]
no_license
tinapgaara/leetcode
d1ced120da9ca74bfc1712c4f0c5541ec12cf980
8a93346e7476183ecc96065062da8585018b5a5b
refs/heads/master
2020-12-11T09:41:39.468895
2018-04-24T07:15:27
2018-04-24T07:15:27
43,688,533
1
0
null
null
null
null
UTF-8
Java
false
false
1,301
java
package facebook.math; /** * Created by yingtan on 3/16/18. */ public class StringTToInteger { public int myAtoi(String str) { if (str == null || str.length() == 0) return 0; str = str.trim(); long res = (long)0; int i = 0; if (str.charAt(0) == '+' || str.charAt(0) == '-') { i = 1; } while(i < str.length()) { if (str.charAt(i) == '0') { i ++; } else { break; } } for (; i < str.length(); i ++) { char ch = str.charAt(i); if (ch >= '0' && ch <= '9') { res = res * 10 + (str.charAt(i) - '0'); if (str.charAt(0) == '-') { if (res > (long)(Integer.MAX_VALUE) + (long)1) { // minu overflow return Integer.MIN_VALUE; } } else { if (res > (Integer.MAX_VALUE)) { return Integer.MAX_VALUE; } } } else { break; } } if (str.charAt(0) == '-') { res = res * -1; } return (int)res; } }
[ "ying.tan@oracle.com" ]
ying.tan@oracle.com