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
SpecialTerminalsTokenTypeToPartitionMapper
for BSL
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
BSL_SUPPORTED_PARTITIONS
-
Constructor Summary
Constructors Constructor Description BslTokenTypeToPartitionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
calculateId(String tokenName, int tokenType)
String[]
getSupportedPartitionTypes()
-
Methods inherited from class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
getPartitionType, isMultiLineComment, isSingleLineComment
-
-
-
-
Field Detail
-
BSL_SUPPORTED_PARTITIONS
public static final String[] BSL_SUPPORTED_PARTITIONS
-
-
Method Detail
-
calculateId
protected String calculateId(String tokenName, int tokenType)
- Overrides:
calculateId
in classorg.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
-
getSupportedPartitionTypes
public String[] getSupportedPartitionTypes()
- Specified by:
getSupportedPartitionTypes
in interfaceorg.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
- Overrides:
getSupportedPartitionTypes
in classorg.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
-
-