Class SyntheticTerminalDetector
- java.lang.Object
-
- org.eclipse.xtext.xtext.generator.util.SyntheticTerminalDetector
-
public class SyntheticTerminalDetector extends java.lang.Object
Helper to identify synthetic terminal rules. This implementation answerstrue
for any terminal rule that has a body in the formterminal MY_TERMINAL: 'synthetic:MY_TERMINAL';
.
-
-
Constructor Summary
Constructors Constructor Description SyntheticTerminalDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSyntheticTerminalRule(org.eclipse.xtext.TerminalRule rule)
Answerstrue
if the given terminal rule is synthetic.
-