@Inject public XtypeGrammarAccess(GrammarProvider grammarProvider) { this.grammar = internalFindGrammar(grammarProvider); this.pJvmTypeReference = new JvmTypeReferenceElements(); this.pArrayBrackets = new ArrayBracketsElements(); this.pXFunctionTypeRef = new XFunctionTypeRefElements(); this.pJvmParameterizedTypeReference = new JvmParameterizedTypeReferenceElements(); this.pJvmArgumentTypeReference = new JvmArgumentTypeReferenceElements(); this.pJvmWildcardTypeReference = new JvmWildcardTypeReferenceElements(); this.pJvmUpperBound = new JvmUpperBoundElements(); this.pJvmUpperBoundAnded = new JvmUpperBoundAndedElements(); this.pJvmLowerBound = new JvmLowerBoundElements(); this.pJvmLowerBoundAnded = new JvmLowerBoundAndedElements(); this.pJvmTypeParameter = new JvmTypeParameterElements(); this.pQualifiedName = new QualifiedNameElements(); this.pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElements(); this.pValidID = new ValidIDElements(); this.pXImportSection = new XImportSectionElements(); this.pXImportDeclaration = new XImportDeclarationElements(); this.pQualifiedNameInStaticImport = new QualifiedNameInStaticImportElements(); this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.ID"); this.tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.STRING"); this.tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.ML_COMMENT"); this.tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.SL_COMMENT"); this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.WS"); this.tANY_OTHER = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.xbase.Xtype.ANY_OTHER"); }
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
public final void ruleValidID() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalXtype.g:371:2: ( ( RULE_ID ) ) // InternalXtype.g:372:2: ( RULE_ID ) { // InternalXtype.g:372:2: ( RULE_ID ) // InternalXtype.g:373:3: RULE_ID { if ( state.backtracking==0 ) { before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; if ( state.backtracking==0 ) { after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "ruleValidID"
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }
public ParserRule getValidIDRule() { return getValidIDAccess().getRule(); }