2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com
.intellij
.psi
.xml
;
18 import com
.intellij
.psi
.tree
.IElementType
;
19 import com
.intellij
.psi
.tree
.xml
.IDTDElementType
;
22 * Created by IntelliJ IDEA.
26 * To change this template use File | Settings | File Templates.
28 public interface DTDTokenType
{
29 IDTDElementType DTD_NAME
= new IDTDElementType("DTD_NAME");
30 IDTDElementType DTD_NMTOKEN
= new IDTDElementType("DTD_NMTOKEN");
31 IDTDElementType DTD_ATTRIBUTE_VALUE_TOKEN
= new IDTDElementType("DTD_ATTRIBUTE_VALUE_TOKEN");
32 IDTDElementType DTD_ATTRIBUTE_VALUE_START_DELIMITER
= new IDTDElementType("DTD_ATTRIBUTE_VALUE_START_DELIMITER");// "\"" or "'"
33 IDTDElementType DTD_ATTRIBUTE_VALUE_END_DELIMITER
= new IDTDElementType("DTD_ATTRIBUTE_VALUE_END_DELIMITER");// "\"" or "'"
35 IDTDElementType DTD_ELEMENT_DECL_START
= new IDTDElementType("DTD_ELEMENT_DECL_START");//<!ELEMENT
36 IDTDElementType DTD_NOTATION_DECL_START
= new IDTDElementType("DTD_NOTATION_DECL_START");//<!NOTATION
37 IDTDElementType DTD_ATTLIST_DECL_START
= new IDTDElementType("DTD_ATTLIST_DECL_START");//<!ATTLIST
38 IDTDElementType DTD_ENTITY_DECL_START
= new IDTDElementType("DTD_ENTITY_DECL_START");//<!ENTITY
39 IDTDElementType DTD_CONDITIONAL_START
= new IDTDElementType("DTD_CONDITIONAL_START");
41 IDTDElementType DTD_DECL_END
= new IDTDElementType("DTD_DECL_END");
43 IDTDElementType DTD_LEFT_PAREN
= new IDTDElementType("DTD_LEFT_PAREN");//(
44 IDTDElementType DTD_RIGHT_PAREN
= new IDTDElementType("DTD_RIGHT_PAREN");//)
45 IDTDElementType DTD_QUESTION
= new IDTDElementType("DTD_QUESTION");//?
46 IDTDElementType DTD_STAR
= new IDTDElementType("DTD_STAR");//*
47 IDTDElementType DTD_PLUS
= new IDTDElementType("DTD_PLUS");//+
48 IDTDElementType DTD_BAR
= new IDTDElementType("DTD_BAR");//|
49 IDTDElementType DTD_COMMA
= new IDTDElementType("DTD_COMMA");//,
50 IDTDElementType DTD_AMP
= new IDTDElementType("DTD_AMP");//&
51 IDTDElementType DTD_PERCENT
= new IDTDElementType("DTD_PERCENT");//%
53 IDTDElementType DTD_TAG_CONTENT_SPEC
= new IDTDElementType("DTD_TAG_CONTENT_SPEC");// EMPTY, ANY...
54 IDTDElementType DTD_PCDATA
= new IDTDElementType("DTD_PCDATA");//#PCDATA
56 IDTDElementType DTD_ATTR_CONTENT_SPEC
= new IDTDElementType("DTD_ATTR_CONTENT_SPEC");
58 IDTDElementType DTD_ATT_IMPLIED
= new IDTDElementType("DTD_ATT_IMPLIED");//; #IMPLIED
59 IDTDElementType DTD_ATT_REQUIRED
= new IDTDElementType("DTD_ATT_REQUIRED");//; #REQUIRED
60 IDTDElementType DTD_ATT_FIXED
= new IDTDElementType("DTD_ATT_FIXED");//; #FIXED
62 IDTDElementType DTD_ENTITY_REF_TOKEN
= new IDTDElementType("DTD_ENTITY_REF_TOKEN");
63 IDTDElementType DTD_CHAR_ENTITY_REF
= new IDTDElementType("DTD_CHAR_ENTITY_REF");
65 IDTDElementType DTD_INCLUDE
= new IDTDElementType("DTD_INCLUDE");
66 IDTDElementType DTD_IGNORE
= new IDTDElementType("DTD_IGNORE");
68 IDTDElementType DTD_PUBLIC
= new IDTDElementType("DTD_PUBLIC");
69 IDTDElementType DTD_SYSTEM
= new IDTDElementType("DTD_SYSTEM");
71 IDTDElementType DTD_NOTATION
= new IDTDElementType("DTD_NOTATION");
73 IDTDElementType DTD_NDATA
= new IDTDElementType("DTD_NDATA");
75 IDTDElementType DTD_BAD_CHARACTER
= new IDTDElementType("DTD_BAD_CHARACTER");
77 IElementType DTD_COMMENT_START
= XmlTokenType
.XML_COMMENT_START
;
78 IElementType DTD_COMMENT_END
= XmlTokenType
.XML_COMMENT_END
;
79 IElementType DTD_COMMENT_CHARACTERS
= XmlTokenType
.XML_COMMENT_CHARACTERS
;