-
Notifications
You must be signed in to change notification settings - Fork 7
/
CompletionXml.dtd
30 lines (29 loc) · 1.17 KB
/
CompletionXml.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- DTD for static completion XML loaded by DefaultCompletionProviders.
See its loadFromXML() overloads as well as CompletionXMLParser.java. -->
<!ELEMENT api (environment?, completionTypes?, keywords)>
<!ELEMENT environment EMPTY>
<!ELEMENT completionTypes (functionCompletionType?)>
<!ELEMENT functionCompletionType EMPTY>
<!ELEMENT keywords (keyword+)>
<!ELEMENT keyword (((params?, desc?) | (desc?, params?)), returnValDesc?)>
<!ELEMENT returnValDesc (#PCDATA)>
<!ELEMENT params (param*)>
<!ELEMENT param (desc?)>
<!ELEMENT desc (#PCDATA)>
<!ATTLIST api language CDATA #REQUIRED>
<!ATTLIST environment
paramStartChar CDATA #REQUIRED
paramEndChar CDATA #REQUIRED
paramSeparator CDATA #REQUIRED
terminal CDATA #REQUIRED>
<!ATTLIST functionCompletionType
type CDATA #REQUIRED>
<!ATTLIST keyword
name CDATA #REQUIRED
type CDATA #REQUIRED
returnType CDATA #IMPLIED
definedIn CDATA #IMPLIED>
<!-- Need to specify at least one of the two attributes below. -->
<!ATTLIST param
name CDATA #IMPLIED
type CDATA #IMPLIED>