[ parse-fresh drop ] with-compilation-unit
[
"prettyprint.tests" lookup-word see
- ] with-string-writer split-lines but-last
+ ] with-string-writer split-lines
] keep =
] with-interactive-vocabs ;
""
"USING: kernel prettyprint.tests ;"
"M: object method-layout ;"
- ""
}
} [
[ \ method-layout see-methods ] with-string-writer split-lines
""
"IN: prettyprint.tests"
"GENERIC: class-see-layout ( x -- y )"
- ""
}
} [
[ \ class-see-layout see ] with-string-writer split-lines
{
"USING: prettyprint.tests ;"
"M: class-see-layout class-see-layout ;"
- ""
}
} [
[ \ class-see-layout see-methods ] with-string-writer split-lines
"USING: math ;"
"IN: prettyprint.tests"
"TUPLE: tuple-with-declared-slot { x integer initial: 0 } ;"
- ""
}
} [
[ \ tuple-with-declared-slot see ] with-string-writer split-lines
{
"IN: prettyprint.tests"
"TUPLE: tuple-with-read-only-slot { x read-only } ;"
- ""
}
} [
[ \ tuple-with-read-only-slot see ] with-string-writer split-lines
{
"IN: prettyprint.tests"
"TUPLE: tuple-with-initial-slot { x initial: 123 } ;"
- ""
}
} [
[ \ tuple-with-initial-slot see ] with-string-writer split-lines
"IN: prettyprint.tests"
"TUPLE: tuple-with-initial-declared-slot"
" { x integer initial: 123 } ;"
- ""
}
} [
[ \ tuple-with-initial-declared-slot see ] with-string-writer split-lines
{
"IN: prettyprint.tests"
"TUPLE: final-tuple ; final"
- ""
}
} [
[ \ final-tuple see ] with-string-writer split-lines