org.eclipse.xtext.xtext
Class KeywordInspector

java.lang.Object
  extended by org.eclipse.xtext.xtext.KeywordInspector

public class KeywordInspector
extends java.lang.Object

Simple implementation of a check for keywords that collide with terminal rules.

It identifies cases like
 Rule: op='+';
 PLUS: '+';
 

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
KeywordInspector(ValidationMessageAcceptor messageAcceptor)
           
 
Method Summary
 void inspectKeywordHidesTerminalRule(Keyword keyword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordInspector

public KeywordInspector(ValidationMessageAcceptor messageAcceptor)
Method Detail

inspectKeywordHidesTerminalRule

public void inspectKeywordHidesTerminalRule(Keyword keyword)