1 ! Copyright (C) 2009 Your name.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax kernel words ;
4 IN: prettyprint.stylesheet
8 { "effect" "an effect" }
9 { "style" "a style assoc" }
11 { $description "The styling hook for stack effects" } ;
16 { "style" "a style assoc" }
18 { $description "The styling hook for string literals" } ;
22 { "vocab" "a vocabulary specifier" }
23 { "style" "a style assoc" }
25 { $description "The styling hook for vocab names" } ;
30 { "style" "a style assoc" }
32 { $description "The styling hook for word names" } ;
34 ARTICLE: "prettyprint.stylesheet" "Prettyprinter Formatted Output"
35 { $vocab-link "prettyprint.stylesheet" }
37 "Control the way that the prettyprinter formats output based on object type. These hooks form a basic \"syntax\" highlighting system."
38 { $subsection word-style }
39 { $subsection string-style }
40 { $subsection vocab-style }
41 { $subsection effect-style }
44 ABOUT: "prettyprint.stylesheet"