/ittf/site/docs/concepts/t/artifactgenerators/gencontext.html.ittf (primary)
edit
1 $group
2 $
3 var sect = {
4 title: 'The genContext object'
5 };
6 section( §)
7 h4 The interface of the gencontext object
8 ittf-panel
9 ittf
10 class genContext
11 #
12 # Set line indentation to a given value
13 m forceIndent
14 param value
15 #
16 # Increase line indentation
17 m indent
18 param value
19 #
20 # Decrease line indentation
21 m deindent
22 param value
23 #
24 # Add a named value to the interpolation context
25 m a
26 param name
27 param value
28 #
29 # Add a named value from the interpolation context
30 m g
31 param name
32 #
33 # Remove a named value from the interpolation context
34 m r
35 param name
36 #
37 # Write a text with interpolation and line feed
38 m w
39 param text
40 #
41 # Write a text with interpolation without line feed
42 m write
43 param text
44 #
45 # throw a NodeError exception
46 m error
47 param message
48 param node
49 #
50 # throw an ArtifactGenerationError exception
51 m artifactGenerationError
52 param message
53 param location
54 param node