blob: da5b49038e9ff892eaa569e652d164a17852ee9a [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.imp.metatooling" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.imp.metatooling" id="parser" name="IMP IDE Parser"/>
</appinfo>
<documentation>
The org.eclipse.imp.parser extension point allows providers to provide a language parser and lexer. The provider specifies what languages it can parse. The provider must implement the IParseController interface. It will be presented with an IDocument and is responsible for producing an AST (abstract syntax tree) of some sort.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="parser"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="parser">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The fully-qualified name of the class that will be generated to serve as the implementation of this extension. This class will be assigned the given name and located in the given package in the currently selected project. (The package will be created if it does not already exist.)
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.imp.parser.IParseController"/>
</appinfo>
</annotation>
</attribute>
<attribute name="language" type="string" use="required">
<annotation>
<documentation>
The name of the language to which this service applies. There must be a corresponding &quot;language description&quot; extension whose name matches this attribute&apos;s value.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
1.0.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;extension
point=&quot;org.eclipse.imp.parser&quot;&gt;
&lt;parser
class=&quot;org.eclipse.imp.DefaultParser&quot;
language=&quot;*&quot;
name=&quot;Default Parser&quot;
id=&quot;org.eclipse.imp.parser.default&quot;/&gt;
&lt;/extension&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiInfo"/>
</appinfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
See org.eclipse.imp.DefaultParser.
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Licensed Materials - Property of IBM,
(c) Copyright IBM Corp. 1998, 2004 All Rights Reserved
</documentation>
</annotation>
</schema>