mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 07:12:25 +01:00
work in progress intermediate save
Updated wikipage Writing Documentation Filters with EFF, the Eiffel Filter Format. (Signed-off-by:RTH10260). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2309 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
[[Property:link_title|Writing FiltersFilters with EFF]]
|
[[Property:link_title|Writing FiltersFilters with EFF]]
|
||||||
[[Property:modification_date|Sun, 14 Feb 2021 05:24:06 GMT]]
|
[[Property:modification_date|Sun, 14 Feb 2021 05:57:28 GMT]]
|
||||||
[[Property:publication_date|Thu, 11 Feb 2021 07:55:20 GMT]]
|
[[Property:publication_date|Thu, 11 Feb 2021 07:55:20 GMT]]
|
||||||
[[Property:title|Writing Documentation Filters with EFF, the Eiffel Filter Format]]
|
[[Property:title|Writing Documentation Filters with EFF, the Eiffel Filter Format]]
|
||||||
[[Property:weight|6]]
|
[[Property:weight|6]]
|
||||||
@@ -17,6 +17,8 @@ If you have a favorite format that you'd like EiffelStudio to use for producing
|
|||||||
|
|
||||||
Note that in practice the best way to write an EFF filter is usually not from scratch, but by copying an existing filter -- one that seems closest to your needs -- and adapting the copy.
|
Note that in practice the best way to write an EFF filter is usually not from scratch, but by copying an existing filter -- one that seems closest to your needs -- and adapting the copy.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
==Available Standard Filters==
|
==Available Standard Filters==
|
||||||
|
|
||||||
{| class="wikitable"
|
{| class="wikitable"
|
||||||
@@ -87,6 +89,8 @@ Note that in practice the best way to write an EFF filter is usually not from sc
|
|||||||
|-
|
|-
|
||||||
|}
|
|}
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
==Where to put filters==
|
==Where to put filters==
|
||||||
|
|
||||||
When you choose to generate documentation, EiffelStudio will ask you to select a filter from a list it obtains by looking up the files of extension <code>.fil</code> in the directory <code>$ISE_EIFFEL/studio/filters</code>
|
When you choose to generate documentation, EiffelStudio will ask you to select a filter from a list it obtains by looking up the files of extension <code>.fil</code> in the directory <code>$ISE_EIFFEL/studio/filters</code>
|
||||||
@@ -170,16 +174,18 @@ If <code>c</code> is not one of the characters for which special conventions hav
|
|||||||
|
|
||||||
A multi-line entry uses the Eiffel convention for string continuations: <code>%</code> at the end of a line to signal that there is a continuation; a continuation line begins with zero or more spaces and tabs followed by a <code>%</code> ; the characters after the <code>%</code> are the continuation of the string.
|
A multi-line entry uses the Eiffel convention for string continuations: <code>%</code> at the end of a line to signal that there is a continuation; a continuation line begins with zero or more spaces and tabs followed by a <code>%</code> ; the characters after the <code>%</code> are the continuation of the string.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
==The EFF Template File==
|
==The EFF Template File==
|
||||||
{{UnderConstruction|making it match the latest definitions in distribution}}
|
|
||||||
|
|
||||||
The following is a replica of the EFF template file as distributed with EiffelStudio v20.11.
|
The following is a replica of the EFF template file as distributed with EiffelStudio v20.11.
|
||||||
|
|
||||||
<code>
|
<code lang=text >
|
||||||
Location: $ISE_EIFFEL/studio/filters/format.fil-template
|
Location: $ISE_EIFFEL/studio/filters/format.fil-template
|
||||||
|
|
||||||
Timestamp: $Date: 2013-04-18 20:30:43 +0000 (Thu, 18 Apr 2013) $
|
Timestamp: $Date: 2013-04-18 20:30:43 +0000 (Thu, 18 Apr 2013) $
|
||||||
$Revision: 92456 $
|
$Revision: 92456 $
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
====Generator provided Items====
|
====Generator provided Items====
|
||||||
@@ -187,7 +193,7 @@ Timestamp: $Date: 2013-04-18 20:30:43 +0000 (Thu, 18 Apr 2013) $
|
|||||||
Several extra items may be used and accessed through: $item$.
|
Several extra items may be used and accessed through: $item$.
|
||||||
|
|
||||||
In every construct, the following items are defined:
|
In every construct, the following items are defined:
|
||||||
<code>
|
<code lang=text >
|
||||||
$generator$ "ISE EiffelStudio version x.x.x"
|
$generator$ "ISE EiffelStudio version x.x.x"
|
||||||
|
|
||||||
$html_meta$ HTML specific. Entire indexing clause defined as meta data.
|
$html_meta$ HTML specific. Entire indexing clause defined as meta data.
|
||||||
@@ -205,7 +211,7 @@ $root$ Relative base directory of generated documentation.
|
|||||||
|
|
||||||
====Properties====
|
====Properties====
|
||||||
|
|
||||||
<code>
|
<code lang=text >
|
||||||
suffix |html
|
suffix |html
|
||||||
Used to specify suffix used for this format.
|
Used to specify suffix used for this format.
|
||||||
Examples: html, txt, ps, e, etc.
|
Examples: html, txt, ps, e, etc.
|
||||||
@@ -218,14 +224,14 @@ file_separator |/
|
|||||||
|
|
||||||
====Basic Text====
|
====Basic Text====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
basic |*
|
basic |*
|
||||||
Basic text
|
Basic text
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
====Hyperlinking items====
|
====Hyperlinking items====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
menu_bar |*
|
menu_bar |*
|
||||||
Contains the different menu items.
|
Contains the different menu items.
|
||||||
|
|
||||||
@@ -261,7 +267,7 @@ origin_comment |*
|
|||||||
|
|
||||||
====Major syntactical constructs====
|
====Major syntactical constructs====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
class_declaration |*
|
class_declaration |*
|
||||||
Contains entire document.
|
Contains entire document.
|
||||||
HTML Example: <HTML><BODY>*</BODY></HTML>
|
HTML Example: <HTML><BODY>*</BODY></HTML>
|
||||||
@@ -293,7 +299,7 @@ class_end |*
|
|||||||
|
|
||||||
====Eiffel syntax items====
|
====Eiffel syntax items====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
features |*
|
features |*
|
||||||
Eiffel feature reference. Symbols:
|
Eiffel feature reference. Symbols:
|
||||||
$feature$ actual feature name of feature in class where it is written.
|
$feature$ actual feature name of feature in class where it is written.
|
||||||
@@ -350,7 +356,7 @@ generic |*
|
|||||||
|
|
||||||
====Whitespace processing====
|
====Whitespace processing====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
tab |*
|
tab |*
|
||||||
HTML Example: " %; %; %; %;".
|
HTML Example: " %; %; %; %;".
|
||||||
|
|
||||||
@@ -364,7 +370,7 @@ multiple_spaces |*
|
|||||||
|
|
||||||
====Eiffel keywords====
|
====Eiffel keywords====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
interface |*
|
interface |*
|
||||||
Appended to keyword "class" in short and flat-short forms.
|
Appended to keyword "class" in short and flat-short forms.
|
||||||
|
|
||||||
@@ -432,7 +438,7 @@ xor |*
|
|||||||
|
|
||||||
====Eiffel symbols====
|
====Eiffel symbols====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
:= |*
|
:= |*
|
||||||
: |*
|
: |*
|
||||||
%, |*
|
%, |*
|
||||||
@@ -475,9 +481,11 @@ Operators:
|
|||||||
|
|
||||||
====Obsolete filter constructs====
|
====Obsolete filter constructs====
|
||||||
|
|
||||||
<code>
|
<code lang=text>
|
||||||
!! |*
|
!! |*
|
||||||
creation |*
|
creation |*
|
||||||
cluster_declaration |*
|
cluster_declaration |*
|
||||||
cluster_header |*
|
cluster_header |*
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user