1ElementTree.lazyOutput(3kaya)Kaya module referenceElementTree.lazyOutput(3kaya)
2
3
4
6 ElementTree::lazyOutput - Print an ElementTree to a user-defined target
7
9 Void lazyOutput( ElementTree etree, EmptyTagMode mode=OpenAndClose, Int
10 indentlevel=0, UnicodeFormat uform=LiteralUTF8, HashSet<String> break‐
11 ers=newHashSet(1, strHash), HashSet<String> emptyels=newHashSet(1,
12 strHash), Void(String) outfn )
13
15 etree The ElementTree to print
16
17 mode How to print empty tags (see ElementTreeData.EmptyTagMode (3kaya)
18 ). Optional, defaulting to OpenAndClose
19
20
21 indentlevel The initial indentation level to use. Optional, defaulting
22 to zero.
23
24 uform The method of printing non-ASCII characters (see ElementTree‐
25 Data.UnicodeFormat (3kaya) ). Optional, defaulting to LiteralUTF8
26
27
28 breakers A dictionary of elements that start a new line in the output
29 code. Optional, defaulting to an empty dictionary
30
31 emptyels A dictionary of elements that are empty. Optional, defaulting
32 to an empty dictionary
33
34 outfn A function to output strings
35
37 Print an ElementTree to the target of outfn , using the selected con‐
38 version options.
39
41 Kaya standard library by Edwin Brady, Chris Morris and others
42 (kaya@kayalang.org). For further information see http://kayalang.org/
43
45 The Kaya standard library is free software; you can redistribute it
46 and/or modify it under the terms of the GNU Lesser General Public
47 License (version 2.1 or any later version) as published by the Free
48 Software Foundation.
49
51 ElementTree.lazyPrint (3kaya)
52 ElementTree.string (3kaya)
53
54
55
56Kaya December 2010 ElementTree.lazyOutput(3kaya)