use of org.eclipse.xtext.grammarinheritance.services.InheritanceTest2LanguageGrammarAccess in project xtext-core by eclipse.
the class AnotherInheritanceTest method testSimple.
@Test
public void testSimple() throws Exception {
InheritanceTest2LanguageGrammarAccess g = (InheritanceTest2LanguageGrammarAccess) getGrammarAccess();
assertNotNull(g.getFQNAccess());
AbstractRule fromFQN = g.getFQNAccess().getIDTerminalRuleCall_0().getRule();
assertEquals(fromFQN, g.getIDRule());
assertNotNull(g.getModelAccess());
}
Aggregations