org.eclipse.xtext.ui.editor.syntaxcoloring
Class DefaultAntlrTokenToAttributeIdMapper

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
      extended by org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
          extended by org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
Direct Known Subclasses:
TokenToAttributeIdMapper, TokenToAttributeMapper, XbaseTokenToAttributeIdMapper

public class DefaultAntlrTokenToAttributeIdMapper
extends AbstractAntlrTokenToAttributeIdMapper

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
DefaultAntlrTokenToAttributeIdMapper()
           
 
Method Summary
protected  java.lang.String calculateId(java.lang.String tokenName, int tokenType)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
getId
 
Methods inherited from class org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
getMappedValue, initIds, setTokenDefProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAntlrTokenToAttributeIdMapper

public DefaultAntlrTokenToAttributeIdMapper()
Method Detail

calculateId

protected java.lang.String calculateId(java.lang.String tokenName,
                                       int tokenType)
Specified by:
calculateId in class TokenTypeToStringMapper