Class BslTokenTypeToPartitionMapper

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper, org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapperExtension

    public class BslTokenTypeToPartitionMapper
    extends org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
    Special TerminalsTokenTypeToPartitionMapper for BSL
    • Field Detail

      • BSL_SUPPORTED_PARTITIONS

        public static final String[] BSL_SUPPORTED_PARTITIONS
    • Constructor Detail

      • BslTokenTypeToPartitionMapper

        public BslTokenTypeToPartitionMapper()
    • Method Detail

      • calculateId

        protected String calculateId​(String tokenName,
                                     int tokenType)
        Overrides:
        calculateId in class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
      • getSupportedPartitionTypes

        public String[] getSupportedPartitionTypes()
        Specified by:
        getSupportedPartitionTypes in interface org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
        Overrides:
        getSupportedPartitionTypes in class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper