Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Adjust test suite parser update to conform with API changes
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
bug6901
/
foo.yang
1
module foo {
2
namespace "foo";
3
prefix foo;
4
yang-version 1.1;
5
6
feature f;
7
8
typedef enum-typedef {
9
type enumeration {
10
enum one;
11
enum two {
12
if-feature f;
13
}
14
enum three;
15
}
16
}
17
18
typedef enum-typedef-2 {
19
type enum-typedef;
20
}
21
22
leaf enum-leaf {
23
type enum-typedef-2;
24
default three;
25
}
26
27
typedef bits-typedef {
28
type bits {
29
bit one;
30
bit two {
31
if-feature f;
32
}
33
bit three;
34
}
35
}
36
37
typedef bits-typedef-2 {
38
type bits-typedef;
39
default three;
40
}
41
42
leaf bit-leaf {
43
type bits-typedef-2;
44
}
45
}