Package de.gebit.integrity.ui.highlighting

## Class DSLAntlrTokenToAttributeIdMapper

- java.lang.Object
- - org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
  - - org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
    - - org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
      - - de.gebit.integrity.ui.highlighting.DSLAntlrTokenToAttributeIdMapper

-     public class DSLAntlrTokenToAttributeIdMapper
      extends org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper

  Extension of the custom Antlr token to attribute mapper. This is used by the editor to connect specific token types to a highlighting setting.
  Author:
    Rene Schneider - initial API and implementation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DSLAntlrTokenToAttributeIdMapper()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected String` | `calculateId​(String aTokenName, int aTokenType)` |

    - ### 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

    - #### DSLAntlrTokenToAttributeIdMapper

          public DSLAntlrTokenToAttributeIdMapper()

  - ### Method Detail

    - #### calculateId

          protected String calculateId​(String aTokenName,
                                       int aTokenType)

      Overrides:
        `calculateId` in class `org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper`