Class TokenToAttributeMapper

java.lang.Object
org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
org.eclipse.emf.mwe2.language.ui.highlighting.TokenToAttributeMapper

public class TokenToAttributeMapper extends org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    calculateId(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 Details

    • TokenToAttributeMapper

      public TokenToAttributeMapper()
  • Method Details

    • calculateId

      protected String calculateId(String tokenName, int tokenType)
      Overrides:
      calculateId in class org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper