PageRenderTime 27ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorldParser.java

https://bitbucket.org/phaneesh/xtext-samples
Java | 576 lines | 334 code | 159 blank | 83 comment | 3 complexity | 2a99e093fea6ef05e508444c1c2e9735 MD5 | raw file
  1. package com.np.dsl.xtext.ui.contentassist.antlr.internal;
  2. import java.io.InputStream;
  3. import org.eclipse.xtext.*;
  4. import org.eclipse.xtext.parser.*;
  5. import org.eclipse.xtext.parser.impl.*;
  6. import org.eclipse.emf.ecore.util.EcoreUtil;
  7. import org.eclipse.emf.ecore.EObject;
  8. import org.eclipse.xtext.parser.antlr.XtextTokenStream;
  9. import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
  10. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
  11. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
  12. import com.np.dsl.xtext.services.HelloWorldGrammarAccess;
  13. import org.antlr.runtime.*;
  14. import java.util.Stack;
  15. import java.util.List;
  16. import java.util.ArrayList;
  17. @SuppressWarnings("all")
  18. public class InternalHelloWorldParser extends AbstractInternalContentAssistParser {
  19. public static final String[] tokenNames = new String[] {
  20. "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'Hello'", "'!'"
  21. };
  22. public static final int RULE_ID=4;
  23. public static final int RULE_STRING=6;
  24. public static final int T__12=12;
  25. public static final int T__11=11;
  26. public static final int RULE_ANY_OTHER=10;
  27. public static final int RULE_INT=5;
  28. public static final int RULE_WS=9;
  29. public static final int RULE_SL_COMMENT=8;
  30. public static final int EOF=-1;
  31. public static final int RULE_ML_COMMENT=7;
  32. // delegates
  33. // delegators
  34. public InternalHelloWorldParser(TokenStream input) {
  35. this(input, new RecognizerSharedState());
  36. }
  37. public InternalHelloWorldParser(TokenStream input, RecognizerSharedState state) {
  38. super(input, state);
  39. }
  40. public String[] getTokenNames() { return InternalHelloWorldParser.tokenNames; }
  41. public String getGrammarFileName() { return "../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g"; }
  42. private HelloWorldGrammarAccess grammarAccess;
  43. public void setGrammarAccess(HelloWorldGrammarAccess grammarAccess) {
  44. this.grammarAccess = grammarAccess;
  45. }
  46. @Override
  47. protected Grammar getGrammar() {
  48. return grammarAccess.getGrammar();
  49. }
  50. @Override
  51. protected String getValueForTokenName(String tokenName) {
  52. return tokenName;
  53. }
  54. // $ANTLR start "entryRuleModel"
  55. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:60:1: entryRuleModel : ruleModel EOF ;
  56. public final void entryRuleModel() throws RecognitionException {
  57. try {
  58. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:61:1: ( ruleModel EOF )
  59. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:62:1: ruleModel EOF
  60. {
  61. before(grammarAccess.getModelRule());
  62. pushFollow(FOLLOW_ruleModel_in_entryRuleModel61);
  63. ruleModel();
  64. state._fsp--;
  65. after(grammarAccess.getModelRule());
  66. match(input,EOF,FOLLOW_EOF_in_entryRuleModel68);
  67. }
  68. }
  69. catch (RecognitionException re) {
  70. reportError(re);
  71. recover(input,re);
  72. }
  73. finally {
  74. }
  75. return ;
  76. }
  77. // $ANTLR end "entryRuleModel"
  78. // $ANTLR start "ruleModel"
  79. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:69:1: ruleModel : ( ( rule__Model__GreetingsAssignment )* ) ;
  80. public final void ruleModel() throws RecognitionException {
  81. int stackSize = keepStackSize();
  82. try {
  83. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:73:2: ( ( ( rule__Model__GreetingsAssignment )* ) )
  84. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:74:1: ( ( rule__Model__GreetingsAssignment )* )
  85. {
  86. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:74:1: ( ( rule__Model__GreetingsAssignment )* )
  87. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:75:1: ( rule__Model__GreetingsAssignment )*
  88. {
  89. before(grammarAccess.getModelAccess().getGreetingsAssignment());
  90. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:76:1: ( rule__Model__GreetingsAssignment )*
  91. loop1:
  92. do {
  93. int alt1=2;
  94. int LA1_0 = input.LA(1);
  95. if ( (LA1_0==11) ) {
  96. alt1=1;
  97. }
  98. switch (alt1) {
  99. case 1 :
  100. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:76:2: rule__Model__GreetingsAssignment
  101. {
  102. pushFollow(FOLLOW_rule__Model__GreetingsAssignment_in_ruleModel94);
  103. rule__Model__GreetingsAssignment();
  104. state._fsp--;
  105. }
  106. break;
  107. default :
  108. break loop1;
  109. }
  110. } while (true);
  111. after(grammarAccess.getModelAccess().getGreetingsAssignment());
  112. }
  113. }
  114. }
  115. catch (RecognitionException re) {
  116. reportError(re);
  117. recover(input,re);
  118. }
  119. finally {
  120. restoreStackSize(stackSize);
  121. }
  122. return ;
  123. }
  124. // $ANTLR end "ruleModel"
  125. // $ANTLR start "entryRuleGreeting"
  126. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:88:1: entryRuleGreeting : ruleGreeting EOF ;
  127. public final void entryRuleGreeting() throws RecognitionException {
  128. try {
  129. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:89:1: ( ruleGreeting EOF )
  130. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:90:1: ruleGreeting EOF
  131. {
  132. before(grammarAccess.getGreetingRule());
  133. pushFollow(FOLLOW_ruleGreeting_in_entryRuleGreeting122);
  134. ruleGreeting();
  135. state._fsp--;
  136. after(grammarAccess.getGreetingRule());
  137. match(input,EOF,FOLLOW_EOF_in_entryRuleGreeting129);
  138. }
  139. }
  140. catch (RecognitionException re) {
  141. reportError(re);
  142. recover(input,re);
  143. }
  144. finally {
  145. }
  146. return ;
  147. }
  148. // $ANTLR end "entryRuleGreeting"
  149. // $ANTLR start "ruleGreeting"
  150. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:97:1: ruleGreeting : ( ( rule__Greeting__Group__0 ) ) ;
  151. public final void ruleGreeting() throws RecognitionException {
  152. int stackSize = keepStackSize();
  153. try {
  154. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:101:2: ( ( ( rule__Greeting__Group__0 ) ) )
  155. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:102:1: ( ( rule__Greeting__Group__0 ) )
  156. {
  157. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:102:1: ( ( rule__Greeting__Group__0 ) )
  158. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:103:1: ( rule__Greeting__Group__0 )
  159. {
  160. before(grammarAccess.getGreetingAccess().getGroup());
  161. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:104:1: ( rule__Greeting__Group__0 )
  162. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:104:2: rule__Greeting__Group__0
  163. {
  164. pushFollow(FOLLOW_rule__Greeting__Group__0_in_ruleGreeting155);
  165. rule__Greeting__Group__0();
  166. state._fsp--;
  167. }
  168. after(grammarAccess.getGreetingAccess().getGroup());
  169. }
  170. }
  171. }
  172. catch (RecognitionException re) {
  173. reportError(re);
  174. recover(input,re);
  175. }
  176. finally {
  177. restoreStackSize(stackSize);
  178. }
  179. return ;
  180. }
  181. // $ANTLR end "ruleGreeting"
  182. // $ANTLR start "rule__Greeting__Group__0"
  183. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:118:1: rule__Greeting__Group__0 : rule__Greeting__Group__0__Impl rule__Greeting__Group__1 ;
  184. public final void rule__Greeting__Group__0() throws RecognitionException {
  185. int stackSize = keepStackSize();
  186. try {
  187. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:122:1: ( rule__Greeting__Group__0__Impl rule__Greeting__Group__1 )
  188. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:123:2: rule__Greeting__Group__0__Impl rule__Greeting__Group__1
  189. {
  190. pushFollow(FOLLOW_rule__Greeting__Group__0__Impl_in_rule__Greeting__Group__0189);
  191. rule__Greeting__Group__0__Impl();
  192. state._fsp--;
  193. pushFollow(FOLLOW_rule__Greeting__Group__1_in_rule__Greeting__Group__0192);
  194. rule__Greeting__Group__1();
  195. state._fsp--;
  196. }
  197. }
  198. catch (RecognitionException re) {
  199. reportError(re);
  200. recover(input,re);
  201. }
  202. finally {
  203. restoreStackSize(stackSize);
  204. }
  205. return ;
  206. }
  207. // $ANTLR end "rule__Greeting__Group__0"
  208. // $ANTLR start "rule__Greeting__Group__0__Impl"
  209. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:130:1: rule__Greeting__Group__0__Impl : ( 'Hello' ) ;
  210. public final void rule__Greeting__Group__0__Impl() throws RecognitionException {
  211. int stackSize = keepStackSize();
  212. try {
  213. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:134:1: ( ( 'Hello' ) )
  214. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:135:1: ( 'Hello' )
  215. {
  216. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:135:1: ( 'Hello' )
  217. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:136:1: 'Hello'
  218. {
  219. before(grammarAccess.getGreetingAccess().getHelloKeyword_0());
  220. match(input,11,FOLLOW_11_in_rule__Greeting__Group__0__Impl220);
  221. after(grammarAccess.getGreetingAccess().getHelloKeyword_0());
  222. }
  223. }
  224. }
  225. catch (RecognitionException re) {
  226. reportError(re);
  227. recover(input,re);
  228. }
  229. finally {
  230. restoreStackSize(stackSize);
  231. }
  232. return ;
  233. }
  234. // $ANTLR end "rule__Greeting__Group__0__Impl"
  235. // $ANTLR start "rule__Greeting__Group__1"
  236. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:149:1: rule__Greeting__Group__1 : rule__Greeting__Group__1__Impl rule__Greeting__Group__2 ;
  237. public final void rule__Greeting__Group__1() throws RecognitionException {
  238. int stackSize = keepStackSize();
  239. try {
  240. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:153:1: ( rule__Greeting__Group__1__Impl rule__Greeting__Group__2 )
  241. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:154:2: rule__Greeting__Group__1__Impl rule__Greeting__Group__2
  242. {
  243. pushFollow(FOLLOW_rule__Greeting__Group__1__Impl_in_rule__Greeting__Group__1251);
  244. rule__Greeting__Group__1__Impl();
  245. state._fsp--;
  246. pushFollow(FOLLOW_rule__Greeting__Group__2_in_rule__Greeting__Group__1254);
  247. rule__Greeting__Group__2();
  248. state._fsp--;
  249. }
  250. }
  251. catch (RecognitionException re) {
  252. reportError(re);
  253. recover(input,re);
  254. }
  255. finally {
  256. restoreStackSize(stackSize);
  257. }
  258. return ;
  259. }
  260. // $ANTLR end "rule__Greeting__Group__1"
  261. // $ANTLR start "rule__Greeting__Group__1__Impl"
  262. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:161:1: rule__Greeting__Group__1__Impl : ( ( rule__Greeting__NameAssignment_1 ) ) ;
  263. public final void rule__Greeting__Group__1__Impl() throws RecognitionException {
  264. int stackSize = keepStackSize();
  265. try {
  266. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:165:1: ( ( ( rule__Greeting__NameAssignment_1 ) ) )
  267. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:166:1: ( ( rule__Greeting__NameAssignment_1 ) )
  268. {
  269. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:166:1: ( ( rule__Greeting__NameAssignment_1 ) )
  270. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:167:1: ( rule__Greeting__NameAssignment_1 )
  271. {
  272. before(grammarAccess.getGreetingAccess().getNameAssignment_1());
  273. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:168:1: ( rule__Greeting__NameAssignment_1 )
  274. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:168:2: rule__Greeting__NameAssignment_1
  275. {
  276. pushFollow(FOLLOW_rule__Greeting__NameAssignment_1_in_rule__Greeting__Group__1__Impl281);
  277. rule__Greeting__NameAssignment_1();
  278. state._fsp--;
  279. }
  280. after(grammarAccess.getGreetingAccess().getNameAssignment_1());
  281. }
  282. }
  283. }
  284. catch (RecognitionException re) {
  285. reportError(re);
  286. recover(input,re);
  287. }
  288. finally {
  289. restoreStackSize(stackSize);
  290. }
  291. return ;
  292. }
  293. // $ANTLR end "rule__Greeting__Group__1__Impl"
  294. // $ANTLR start "rule__Greeting__Group__2"
  295. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:178:1: rule__Greeting__Group__2 : rule__Greeting__Group__2__Impl ;
  296. public final void rule__Greeting__Group__2() throws RecognitionException {
  297. int stackSize = keepStackSize();
  298. try {
  299. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:182:1: ( rule__Greeting__Group__2__Impl )
  300. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:183:2: rule__Greeting__Group__2__Impl
  301. {
  302. pushFollow(FOLLOW_rule__Greeting__Group__2__Impl_in_rule__Greeting__Group__2311);
  303. rule__Greeting__Group__2__Impl();
  304. state._fsp--;
  305. }
  306. }
  307. catch (RecognitionException re) {
  308. reportError(re);
  309. recover(input,re);
  310. }
  311. finally {
  312. restoreStackSize(stackSize);
  313. }
  314. return ;
  315. }
  316. // $ANTLR end "rule__Greeting__Group__2"
  317. // $ANTLR start "rule__Greeting__Group__2__Impl"
  318. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:189:1: rule__Greeting__Group__2__Impl : ( '!' ) ;
  319. public final void rule__Greeting__Group__2__Impl() throws RecognitionException {
  320. int stackSize = keepStackSize();
  321. try {
  322. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:193:1: ( ( '!' ) )
  323. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:194:1: ( '!' )
  324. {
  325. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:194:1: ( '!' )
  326. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:195:1: '!'
  327. {
  328. before(grammarAccess.getGreetingAccess().getExclamationMarkKeyword_2());
  329. match(input,12,FOLLOW_12_in_rule__Greeting__Group__2__Impl339);
  330. after(grammarAccess.getGreetingAccess().getExclamationMarkKeyword_2());
  331. }
  332. }
  333. }
  334. catch (RecognitionException re) {
  335. reportError(re);
  336. recover(input,re);
  337. }
  338. finally {
  339. restoreStackSize(stackSize);
  340. }
  341. return ;
  342. }
  343. // $ANTLR end "rule__Greeting__Group__2__Impl"
  344. // $ANTLR start "rule__Model__GreetingsAssignment"
  345. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:215:1: rule__Model__GreetingsAssignment : ( ruleGreeting ) ;
  346. public final void rule__Model__GreetingsAssignment() throws RecognitionException {
  347. int stackSize = keepStackSize();
  348. try {
  349. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:219:1: ( ( ruleGreeting ) )
  350. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:220:1: ( ruleGreeting )
  351. {
  352. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:220:1: ( ruleGreeting )
  353. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:221:1: ruleGreeting
  354. {
  355. before(grammarAccess.getModelAccess().getGreetingsGreetingParserRuleCall_0());
  356. pushFollow(FOLLOW_ruleGreeting_in_rule__Model__GreetingsAssignment381);
  357. ruleGreeting();
  358. state._fsp--;
  359. after(grammarAccess.getModelAccess().getGreetingsGreetingParserRuleCall_0());
  360. }
  361. }
  362. }
  363. catch (RecognitionException re) {
  364. reportError(re);
  365. recover(input,re);
  366. }
  367. finally {
  368. restoreStackSize(stackSize);
  369. }
  370. return ;
  371. }
  372. // $ANTLR end "rule__Model__GreetingsAssignment"
  373. // $ANTLR start "rule__Greeting__NameAssignment_1"
  374. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:230:1: rule__Greeting__NameAssignment_1 : ( RULE_ID ) ;
  375. public final void rule__Greeting__NameAssignment_1() throws RecognitionException {
  376. int stackSize = keepStackSize();
  377. try {
  378. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:234:1: ( ( RULE_ID ) )
  379. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:235:1: ( RULE_ID )
  380. {
  381. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:235:1: ( RULE_ID )
  382. // ../com.np.dsl.xtext.helloworld.ui/src-gen/com/np/dsl/xtext/ui/contentassist/antlr/internal/InternalHelloWorld.g:236:1: RULE_ID
  383. {
  384. before(grammarAccess.getGreetingAccess().getNameIDTerminalRuleCall_1_0());
  385. match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__Greeting__NameAssignment_1412);
  386. after(grammarAccess.getGreetingAccess().getNameIDTerminalRuleCall_1_0());
  387. }
  388. }
  389. }
  390. catch (RecognitionException re) {
  391. reportError(re);
  392. recover(input,re);
  393. }
  394. finally {
  395. restoreStackSize(stackSize);
  396. }
  397. return ;
  398. }
  399. // $ANTLR end "rule__Greeting__NameAssignment_1"
  400. // Delegated rules
  401. public static final BitSet FOLLOW_ruleModel_in_entryRuleModel61 = new BitSet(new long[]{0x0000000000000000L});
  402. public static final BitSet FOLLOW_EOF_in_entryRuleModel68 = new BitSet(new long[]{0x0000000000000002L});
  403. public static final BitSet FOLLOW_rule__Model__GreetingsAssignment_in_ruleModel94 = new BitSet(new long[]{0x0000000000000802L});
  404. public static final BitSet FOLLOW_ruleGreeting_in_entryRuleGreeting122 = new BitSet(new long[]{0x0000000000000000L});
  405. public static final BitSet FOLLOW_EOF_in_entryRuleGreeting129 = new BitSet(new long[]{0x0000000000000002L});
  406. public static final BitSet FOLLOW_rule__Greeting__Group__0_in_ruleGreeting155 = new BitSet(new long[]{0x0000000000000002L});
  407. public static final BitSet FOLLOW_rule__Greeting__Group__0__Impl_in_rule__Greeting__Group__0189 = new BitSet(new long[]{0x0000000000000010L});
  408. public static final BitSet FOLLOW_rule__Greeting__Group__1_in_rule__Greeting__Group__0192 = new BitSet(new long[]{0x0000000000000002L});
  409. public static final BitSet FOLLOW_11_in_rule__Greeting__Group__0__Impl220 = new BitSet(new long[]{0x0000000000000002L});
  410. public static final BitSet FOLLOW_rule__Greeting__Group__1__Impl_in_rule__Greeting__Group__1251 = new BitSet(new long[]{0x0000000000001000L});
  411. public static final BitSet FOLLOW_rule__Greeting__Group__2_in_rule__Greeting__Group__1254 = new BitSet(new long[]{0x0000000000000002L});
  412. public static final BitSet FOLLOW_rule__Greeting__NameAssignment_1_in_rule__Greeting__Group__1__Impl281 = new BitSet(new long[]{0x0000000000000002L});
  413. public static final BitSet FOLLOW_rule__Greeting__Group__2__Impl_in_rule__Greeting__Group__2311 = new BitSet(new long[]{0x0000000000000002L});
  414. public static final BitSet FOLLOW_12_in_rule__Greeting__Group__2__Impl339 = new BitSet(new long[]{0x0000000000000002L});
  415. public static final BitSet FOLLOW_ruleGreeting_in_rule__Model__GreetingsAssignment381 = new BitSet(new long[]{0x0000000000000002L});
  416. public static final BitSet FOLLOW_RULE_ID_in_rule__Greeting__NameAssignment_1412 = new BitSet(new long[]{0x0000000000000002L});
  417. }