factor/library/tools/definitions.facts

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2006-08-02 15:17:13 -04:00
IN: definitions
2006-08-25 21:29:23 -04:00
USING: help io prettyprint ;
2006-08-02 15:17:13 -04:00
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-25 21:29:23 -04:00
HELP: synopsis
2006-08-02 15:17:13 -04:00
{ $values { "defspec" "a definition specifier" } }
{ $contract "Prettyprints the prologue of a definition." }
2006-08-25 21:29:23 -04:00
$prettyprinting-note
{ $see-also summary } ;
2006-08-02 15:17:13 -04:00
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 ;