1 /*******************************************************************************
2  * Copyright (c) 2000, 2019 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.jdt.ui.text;
15 
16 /**
17  * Definition of Java partitioning and its partitions.
18  *
19  * @since 3.1
20  */
21 public interface IJavaPartitions {
22 
23 	/**
24 	 * The identifier of the Java partitioning.
25 	 */
26 	String JAVA_PARTITIONING= "___java_partitioning";  //$NON-NLS-1$
27 
28 	/**
29 	 * The identifier of the single-line (JLS2: EndOfLineComment) end comment partition content type.
30 	 */
31 	String JAVA_SINGLE_LINE_COMMENT= "__java_singleline_comment"; //$NON-NLS-1$
32 
33 	/**
34 	 * The identifier multi-line (JLS2: TraditionalComment) comment partition content type.
35 	 */
36 	String JAVA_MULTI_LINE_COMMENT= "__java_multiline_comment"; //$NON-NLS-1$
37 
38 	/**
39 	 * The identifier of the Javadoc (JLS2: DocumentationComment) partition content type.
40 	 */
41 	String JAVA_DOC= "__java_javadoc"; //$NON-NLS-1$
42 
43 	/**
44 	 * The identifier of the Java string partition content type.
45 	 */
46 	String JAVA_STRING= "__java_string"; //$NON-NLS-1$
47 
48 	/**
49 	 * The identifier of the Java character partition content type.
50 	 */
51 	String JAVA_CHARACTER= "__java_character";  //$NON-NLS-1$
52 
53 	/**
54 	 * The identifier multi-line (JEP 355: Text Block) String partition content type.
55 	 * @since 3.20
56 	 */
57 	String JAVA_MULTI_LINE_STRING= "__java_multiline_string"; //$NON-NLS-1$
58 }
59