factor/library/tools/definitions.facts

35 lines
1.0 KiB
Plaintext
Raw Normal View History

2006-08-02 15:17:13 -04:00
IN: definitions
USING: help ;
2006-08-16 21:55:53 -04:00
HELP: ?resource-path
{ $values { "path" "a string" } { "newpath" "a string" } }
{ $description "If the path is prefixed with " { $snippet "\"resource:\"" } ", prepends the resource path." }
{ $see-also resource-path } ;
HELP: reload
{ $values { "defspec" "a definition specifier" } }
{ $description "Reloads the source file containing the definition." }
{ $examples
"To reload a word definition:"
{ $code "\ foo reload" }
"A method definition:"
{ $code "{ editor draw-gadget* } reload" }
"A help article:"
{ $code "\"handbook\" <link> reload" }
} ;
2006-08-02 15:17:13 -04:00
2006-08-16 21:55:53 -04:00
HELP: in.
2006-08-02 15:17:13 -04:00
{ $values { "word" "a word" } }
{ $description "Prettyprints a " { $snippet "IN:" } " declaration for the word." }
$prettyprinting-note ;
2006-08-16 21:55:53 -04:00
HELP: (synopsis)
2006-08-02 15:17:13 -04:00
{ $values { "defspec" "a definition specifier" } }
{ $contract "Prettyprints the prologue of a definition." }
$prettyprinting-note ;
2006-08-16 21:55:53 -04:00
HELP: comment.
{ $values { "string" "a string" } }
2006-08-02 15:17:13 -04:00
{ $description "Prettyprints some text with the comment style." }
$prettyprinting-note ;