Index: library/lib/xodoc.xotcl
===================================================================
diff -u -rc72f9f638677608fab1502cd696c8f2d6b2952f9 -ra6087540279fa5a9110728605795620ecd43e10e
--- library/lib/xodoc.xotcl (.../xodoc.xotcl) (revision c72f9f638677608fab1502cd696c8f2d6b2952f9)
+++ library/lib/xodoc.xotcl (.../xodoc.xotcl) (revision a6087540279fa5a9110728605795620ecd43e10e)
@@ -21,7 +21,7 @@
are registered for all token types.
}
}
- Class MetadataTokenHTML
+ Class create MetadataTokenHTML
@ MetadataTokenHTML abstract instproc printHTML {} {
description {Print token to HTML document object}
}
@@ -72,7 +72,7 @@
MetadataToken instmixin [concat [MetadataToken info instmixin] MetadataTokenHTML]
@ Class FileTokenHTML -superclass MetadataTokenHTML
- Class FileTokenHTML -superclass MetadataTokenHTML
+ Class create FileTokenHTML -superclass MetadataTokenHTML
FileTokenHTML instproc printHTML {htmlDoc} {
$htmlDoc addLineBreak
$htmlDoc addString " Filename: "
@@ -87,7 +87,7 @@
FileToken instmixin [concat [FileToken info instmixin] FileTokenHTML]
@ Class ConstraintTokenHTML -superclass MetadataTokenHTML
- Class ConstraintTokenHTML -superclass MetadataTokenHTML
+ Class create ConstraintTokenHTML -superclass MetadataTokenHTML
ConstraintTokenHTML instproc printHTML {htmlDoc} {
$htmlDoc addAnchor "" -name [my set name]
$htmlDoc addString "
Constraint: [my set name]
"
@@ -100,7 +100,7 @@
ConstraintToken instmixin [concat [ConstraintToken info instmixin] ConstraintTokenHTML]
@ Class ObjTokenHTML -superclass MetadataTokenHTML
- Class ObjTokenHTML -superclass MetadataTokenHTML
+ Class create ObjTokenHTML -superclass MetadataTokenHTML
ObjTokenHTML instproc getProcsHTML {htmlDoc} {
set c ""
set pl [MetadataToken sortTokenList [my procList]]
@@ -154,14 +154,14 @@
ObjToken instmixin [concat [ObjToken info instmixin] ObjTokenHTML]
@ Class MethodTokenHTML -superclass MetadataTokenHTML
- Class MethodTokenHTML -superclass MetadataTokenHTML
+ Class create MethodTokenHTML -superclass MetadataTokenHTML
# Prints out method information as HTML.
MethodTokenHTML instproc printHTML {htmlDoc} {
#my showVars
set argText "\n"
- HtmlBuilder args
+ HtmlBuilder create args
set a "Arguments:"
@@ -211,7 +211,7 @@
@ Class XODoc { description "Handler class for building a documentation database" }
- Class XODoc -superclass StaticMetadataAnalyzer
+ Class create XODoc -superclass StaticMetadataAnalyzer
@ XODoc proc documentFileAsHTML {
file "filename of the xotcl file to be documented"
@@ -224,7 +224,7 @@
}
XODoc proc documentFileAsHTML {file docdir} {
- set docdb [XODoc [XODoc autoname docdb]]
+ set docdb [XODoc create [XODoc autoname docdb]]
::@ set analyzerObj $docdb
$docdb analyzeFile $file
set ext [file extension $file]
@@ -361,7 +361,7 @@
description "Create HTML documentation object from metadata token"
}
XODoc instproc printHTML {name} {
- HtmlBuilder htmlDoc
+ HtmlBuilder create htmlDoc
htmlDoc startDocument -title "XOTcl - Documentation -- $name" \
-bgcolor FFFFFF -stylesheet xotcl-doc.css
htmlDoc addStringIncr ""