use of org.eclipse.xtext.parser.impl.PartialParsingPointers in project xtext-core by eclipse.
the class PartialParsingPointerLookaheadTest method testLookahead_3_4.
@Test
public void testLookahead_3_4() throws Exception {
String model = "bar a foo bar c b d foo bar b c";
for (int i = 3; i < 5; ++i) {
PartialParsingPointers parsingPointers = calculatePartialParsingPointers(model, i, 1);
checkParseRegionPointers(parsingPointers, "bar a", "RuleCall", "LookAhead0");
}
}
use of org.eclipse.xtext.parser.impl.PartialParsingPointers in project xtext-core by eclipse.
the class PartialParsingPointerLookaheadTest method testLookahead_6_8.
@Test
public void testLookahead_6_8() throws Exception {
String model = "bar a foo bar c b d foo bar b c";
for (int i = 6; i < 9; ++i) {
PartialParsingPointers parsingPointers = calculatePartialParsingPointers(model, i, 1);
checkParseRegionPointers(parsingPointers, model, "ParserRule", "Entry");
}
}
Aggregations