Package com._1c.g5.v8.dt.bsl.ui.autoedit
Class BslTokenTypeToPartitionMapper
java.lang.Object
org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
com._1c.g5.v8.dt.bsl.ui.autoedit.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 Summary
FieldsFields inherited from class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
COMMENT_PARTITION, SL_COMMENT_PARTITION, STRING_LITERAL_PARTITION, SUPPORTED_PARTITIONS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
calculateId
(String tokenName, int tokenType) String[]
Methods inherited from class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
getPartitionType, isMultiLineComment, isSingleLineComment
Methods inherited from class org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
getMappedValue, initIds, setTokenDefProvider
-
Field Details
-
BSL_SUPPORTED_PARTITIONS
-
-
Constructor Details
-
BslTokenTypeToPartitionMapper
public BslTokenTypeToPartitionMapper()
-
-
Method Details
-
calculateId
- Overrides:
calculateId
in classorg.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
-
getSupportedPartitionTypes
- Specified by:
getSupportedPartitionTypes
in interfaceorg.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
- Overrides:
getSupportedPartitionTypes
in classorg.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
-