Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6013c3af4a9fa1f7c90c1a410354360aef8c0b42
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
bug6887
/
bar-invalid-4.yang
1
module bar {
2
namespace bar;
3
prefix bar;
4
yang-version 1.1;
5
6
revision 2017-02-02;
7
8
typedef my-base-bits-type {
9
type bits {
10
bit bit-a {
11
position 1;
12
}
13
bit bit-b;
14
bit bit-c {
15
position 3;
16
}
17
bit bit-d {
18
position 4;
19
}
20
}
21
}
22
23
typedef my-derived-bits-type {
24
type my-base-bits-type {
25
bit bit-b;
26
bit bit-c {
27
position 3;
28
}
29
bit bit-d {
30
position 6;
31
}
32
}
33
}
34
35
leaf my-bits-leaf {
36
type my-derived-bits-type {
37
bit bit-b;
38
bit bit-c {
39
position 3;
40
}
41
}
42
}
43
}