File: dyn2.pod

package info (click to toggle)
libconfig-grammar-perl 1.13-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 264 kB
  • sloc: perl: 1,352; makefile: 2
file content (95 lines) | stat: -rw-r--r-- 1,669 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
The following variables can be set in this section:

=over

=item B<a>

This variable I<dynamically> modifies the grammar based on its value.

=back

=head2 *** test ***

The following sections are valid on level 1:

=over

=item B<+/s+/>

The grammar of this section is I<dynamically> modified based on its name.

The following variables can be set in this section:

=over

=item B<a>

=item B<b>

=item B<c>

=back

Dynamical grammar changes for example instances of this section:

=over

=item B<s>: Less than three 's' letters have no effect

No changes that can be automatically described.

(End of dynamical grammar changes for example instance C<s>.)

=item B<ss>: Less than three 's' letters still have no effect

No changes that can be automatically described.

(End of dynamical grammar changes for example instance C<ss>.)

=item B<sss>: More than two 's' letters do have an effect

The following variables are not valid anymore:

=over

=item c

=back

(End of dynamical grammar changes for example instance C<sss>.)

=back

(End of dynamical grammar changes for example instances of section C</s+/>.)

=back

Dynamical grammar changes for example values of variable C<a>:

=over

=item B<1>: Values other than 2 have no effect

No changes that can be automatically described.

(End of dynamical grammar changes for variable C<a> example value C<1>.)

=item B<2>: This creates new variables 'b' and 'c'

The following new variables are valid:

=over

=item B<b>

=item B<c>

Default value: c = 5

=back

(End of dynamical grammar changes for variable C<a> example value C<2>.)

=back

(End of dynamical grammar changes for example values of variable C<a>.)