libamxo
4.3.4
Object Definition Language (ODL) parsing
test_special_values.odl
Go to the documentation of this file.
1
%
config
{
2
test =
"Text \"with\" single and double \'quotes\'"
;
3
}
4
5
%
define
{
6
%persistent
object
MainObject {
7
%persistent
object
InstanceObject[] {
8
%persistent
string
TextA =
""
;
9
%persistent
string
TextB =
""
;
10
%persistent
string
TextC =
""
;
11
%persistent
string
TextD =
""
;
12
}
13
}
14
}
15
16
%populate {
17
object
MainObject.InstanceObject {
18
instance add(0,
"default"
) {
19
parameter TextA =
"\"Hello\""
;
20
parameter TextB =
'\"Hello\"'
;
21
parameter TextC =
'A\'B'
;
22
parameter TextD =
'A\"B'
;
23
}
24
instance add(0,
"test"
) {
25
parameter TextA =
"${test}"
;
26
parameter TextB =
'\$\{test\}'
;
27
parameter TextC =
'$(test)'
;
28
parameter TextD =
"\$\(test\)"
;
29
}
30
}
31
}
define
define
Definition:
main.odl:1
config
config
Definition:
test_special_values.odl:1
test
amxo_save
test_special_values.odl
Generated on Mon Aug 26 2024 14:17:32 for libamxo by
1.9.1