idl-parser 0.0.4__tar.gz → 0.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- idl_parser-0.0.6/PKG-INFO +106 -0
- idl_parser-0.0.6/README.rst +87 -0
- idl_parser-0.0.6/idl_parser.egg-info/PKG-INFO +106 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser.egg-info/SOURCES.txt +1 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/setup.py +2 -2
- idl_parser-0.0.4/PKG-INFO +0 -94
- idl_parser-0.0.4/idl_parser.egg-info/PKG-INFO +0 -94
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/__init__.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/const.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/enum.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/interface.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/module.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/node.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/parser.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/struct.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/token_buffer.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/type.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser/typedef.py +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser.egg-info/dependency_links.txt +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/idl_parser.egg-info/top_level.txt +0 -0
- {idl_parser-0.0.4 → idl_parser-0.0.6}/setup.cfg +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: idl_parser
|
|
3
|
+
Version: 0.0.6
|
|
4
|
+
Summary: Very simple OMG IDL (Interface Definition Language) parser. This parses IDL files and outputs intermediate class objects.
|
|
5
|
+
Home-page: http://www.sugarsweetrobotics.com/
|
|
6
|
+
Author: ysuga
|
|
7
|
+
Author-email: ysuga@ysuga.net
|
|
8
|
+
License: GPLv3
|
|
9
|
+
Download-URL: https://github.com/sugarsweetrobotics/idl_parser
|
|
10
|
+
Description: idl_parser
|
|
11
|
+
============
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Description
|
|
15
|
+
-----------
|
|
16
|
+
|
|
17
|
+
OMG IDL file parser. This library just parse IDL files, and output intermidiate type objects.
|
|
18
|
+
|
|
19
|
+
Example
|
|
20
|
+
-----------
|
|
21
|
+
|
|
22
|
+
.. code:: python
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
example for idl_parser package
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
from idl_parser import parser
|
|
29
|
+
parser_ = parser.IDLParser()
|
|
30
|
+
idl_str = """
|
|
31
|
+
module my_module {
|
|
32
|
+
struct Time {
|
|
33
|
+
long sec;
|
|
34
|
+
long usec;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
typedef sequence<double> DoubleSeq;
|
|
38
|
+
|
|
39
|
+
struct TimedDoubleSeq {
|
|
40
|
+
Time tm;
|
|
41
|
+
DoubleSeq data;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
enum RETURN_VALUE {
|
|
45
|
+
RETURN_OK,
|
|
46
|
+
RETURN_FAILED,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
interface DataGetter {
|
|
50
|
+
RETURN_VALUE getData(out TimedDoubleSeq data);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
};
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
global_module = parser_.load(idl_str)
|
|
57
|
+
my_module = global_module.module_by_name('my_module')
|
|
58
|
+
dataGetter = my_module.interface_by_name('DataGetter')
|
|
59
|
+
print 'DataGetter interface'
|
|
60
|
+
for m in dataGetter.methods:
|
|
61
|
+
print '- method:'
|
|
62
|
+
print ' name:', m.name
|
|
63
|
+
print ' returns:', m.returns.name
|
|
64
|
+
print ' arguments:'
|
|
65
|
+
for a in m.arguments:
|
|
66
|
+
print ' name:', a.name
|
|
67
|
+
print ' type:', a.type
|
|
68
|
+
print ' direction:', a.direction
|
|
69
|
+
|
|
70
|
+
doubleSeq = my_module.typedef_by_name('DoubleSeq')
|
|
71
|
+
print 'typedef %s %s' % (doubleSeq.type.name, doubleSeq.name)
|
|
72
|
+
|
|
73
|
+
timedDoubleSeq = my_module.struct_by_name('TimedDoubleSeq')
|
|
74
|
+
print 'TimedDoubleSeq'
|
|
75
|
+
for m in timedDoubleSeq.members:
|
|
76
|
+
print '- member:'
|
|
77
|
+
print ' name:', m.name
|
|
78
|
+
print ' type:', m.type.name
|
|
79
|
+
|
|
80
|
+
How to install
|
|
81
|
+
-----------
|
|
82
|
+
|
|
83
|
+
sudo pip install idl_parser
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
Copyright
|
|
87
|
+
-----------
|
|
88
|
+
|
|
89
|
+
- author: Yuki Suga
|
|
90
|
+
|
|
91
|
+
- copyright: Yuki Suga @ ssr.tokyo
|
|
92
|
+
|
|
93
|
+
- license: GPLv3
|
|
94
|
+
|
|
95
|
+
.. |Travis Build Status| image:: https://travis-ci.org/sugarsweetrobotics/idl_parser.svg?branch=master
|
|
96
|
+
:target: https://travis-ci.org/sugarsweetrobotics/idl_parser
|
|
97
|
+
|
|
98
|
+
Platform: UNKNOWN
|
|
99
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
100
|
+
Classifier: Environment :: Console
|
|
101
|
+
Classifier: Intended Audience :: Developers
|
|
102
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
103
|
+
Classifier: Natural Language :: English
|
|
104
|
+
Classifier: Operating System :: OS Independent
|
|
105
|
+
Classifier: Programming Language :: Python
|
|
106
|
+
Classifier: Topic :: Scientific/Engineering
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
idl_parser
|
|
2
|
+
============
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Description
|
|
6
|
+
-----------
|
|
7
|
+
|
|
8
|
+
OMG IDL file parser. This library just parse IDL files, and output intermidiate type objects.
|
|
9
|
+
|
|
10
|
+
Example
|
|
11
|
+
-----------
|
|
12
|
+
|
|
13
|
+
.. code:: python
|
|
14
|
+
|
|
15
|
+
"""
|
|
16
|
+
example for idl_parser package
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from idl_parser import parser
|
|
20
|
+
parser_ = parser.IDLParser()
|
|
21
|
+
idl_str = """
|
|
22
|
+
module my_module {
|
|
23
|
+
struct Time {
|
|
24
|
+
long sec;
|
|
25
|
+
long usec;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
typedef sequence<double> DoubleSeq;
|
|
29
|
+
|
|
30
|
+
struct TimedDoubleSeq {
|
|
31
|
+
Time tm;
|
|
32
|
+
DoubleSeq data;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
enum RETURN_VALUE {
|
|
36
|
+
RETURN_OK,
|
|
37
|
+
RETURN_FAILED,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
interface DataGetter {
|
|
41
|
+
RETURN_VALUE getData(out TimedDoubleSeq data);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
};
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
global_module = parser_.load(idl_str)
|
|
48
|
+
my_module = global_module.module_by_name('my_module')
|
|
49
|
+
dataGetter = my_module.interface_by_name('DataGetter')
|
|
50
|
+
print 'DataGetter interface'
|
|
51
|
+
for m in dataGetter.methods:
|
|
52
|
+
print '- method:'
|
|
53
|
+
print ' name:', m.name
|
|
54
|
+
print ' returns:', m.returns.name
|
|
55
|
+
print ' arguments:'
|
|
56
|
+
for a in m.arguments:
|
|
57
|
+
print ' name:', a.name
|
|
58
|
+
print ' type:', a.type
|
|
59
|
+
print ' direction:', a.direction
|
|
60
|
+
|
|
61
|
+
doubleSeq = my_module.typedef_by_name('DoubleSeq')
|
|
62
|
+
print 'typedef %s %s' % (doubleSeq.type.name, doubleSeq.name)
|
|
63
|
+
|
|
64
|
+
timedDoubleSeq = my_module.struct_by_name('TimedDoubleSeq')
|
|
65
|
+
print 'TimedDoubleSeq'
|
|
66
|
+
for m in timedDoubleSeq.members:
|
|
67
|
+
print '- member:'
|
|
68
|
+
print ' name:', m.name
|
|
69
|
+
print ' type:', m.type.name
|
|
70
|
+
|
|
71
|
+
How to install
|
|
72
|
+
-----------
|
|
73
|
+
|
|
74
|
+
sudo pip install idl_parser
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
Copyright
|
|
78
|
+
-----------
|
|
79
|
+
|
|
80
|
+
- author: Yuki Suga
|
|
81
|
+
|
|
82
|
+
- copyright: Yuki Suga @ ssr.tokyo
|
|
83
|
+
|
|
84
|
+
- license: GPLv3
|
|
85
|
+
|
|
86
|
+
.. |Travis Build Status| image:: https://travis-ci.org/sugarsweetrobotics/idl_parser.svg?branch=master
|
|
87
|
+
:target: https://travis-ci.org/sugarsweetrobotics/idl_parser
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: idl-parser
|
|
3
|
+
Version: 0.0.6
|
|
4
|
+
Summary: Very simple OMG IDL (Interface Definition Language) parser. This parses IDL files and outputs intermediate class objects.
|
|
5
|
+
Home-page: http://www.sugarsweetrobotics.com/
|
|
6
|
+
Author: ysuga
|
|
7
|
+
Author-email: ysuga@ysuga.net
|
|
8
|
+
License: GPLv3
|
|
9
|
+
Download-URL: https://github.com/sugarsweetrobotics/idl_parser
|
|
10
|
+
Description: idl_parser
|
|
11
|
+
============
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Description
|
|
15
|
+
-----------
|
|
16
|
+
|
|
17
|
+
OMG IDL file parser. This library just parse IDL files, and output intermidiate type objects.
|
|
18
|
+
|
|
19
|
+
Example
|
|
20
|
+
-----------
|
|
21
|
+
|
|
22
|
+
.. code:: python
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
example for idl_parser package
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
from idl_parser import parser
|
|
29
|
+
parser_ = parser.IDLParser()
|
|
30
|
+
idl_str = """
|
|
31
|
+
module my_module {
|
|
32
|
+
struct Time {
|
|
33
|
+
long sec;
|
|
34
|
+
long usec;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
typedef sequence<double> DoubleSeq;
|
|
38
|
+
|
|
39
|
+
struct TimedDoubleSeq {
|
|
40
|
+
Time tm;
|
|
41
|
+
DoubleSeq data;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
enum RETURN_VALUE {
|
|
45
|
+
RETURN_OK,
|
|
46
|
+
RETURN_FAILED,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
interface DataGetter {
|
|
50
|
+
RETURN_VALUE getData(out TimedDoubleSeq data);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
};
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
global_module = parser_.load(idl_str)
|
|
57
|
+
my_module = global_module.module_by_name('my_module')
|
|
58
|
+
dataGetter = my_module.interface_by_name('DataGetter')
|
|
59
|
+
print 'DataGetter interface'
|
|
60
|
+
for m in dataGetter.methods:
|
|
61
|
+
print '- method:'
|
|
62
|
+
print ' name:', m.name
|
|
63
|
+
print ' returns:', m.returns.name
|
|
64
|
+
print ' arguments:'
|
|
65
|
+
for a in m.arguments:
|
|
66
|
+
print ' name:', a.name
|
|
67
|
+
print ' type:', a.type
|
|
68
|
+
print ' direction:', a.direction
|
|
69
|
+
|
|
70
|
+
doubleSeq = my_module.typedef_by_name('DoubleSeq')
|
|
71
|
+
print 'typedef %s %s' % (doubleSeq.type.name, doubleSeq.name)
|
|
72
|
+
|
|
73
|
+
timedDoubleSeq = my_module.struct_by_name('TimedDoubleSeq')
|
|
74
|
+
print 'TimedDoubleSeq'
|
|
75
|
+
for m in timedDoubleSeq.members:
|
|
76
|
+
print '- member:'
|
|
77
|
+
print ' name:', m.name
|
|
78
|
+
print ' type:', m.type.name
|
|
79
|
+
|
|
80
|
+
How to install
|
|
81
|
+
-----------
|
|
82
|
+
|
|
83
|
+
sudo pip install idl_parser
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
Copyright
|
|
87
|
+
-----------
|
|
88
|
+
|
|
89
|
+
- author: Yuki Suga
|
|
90
|
+
|
|
91
|
+
- copyright: Yuki Suga @ ssr.tokyo
|
|
92
|
+
|
|
93
|
+
- license: GPLv3
|
|
94
|
+
|
|
95
|
+
.. |Travis Build Status| image:: https://travis-ci.org/sugarsweetrobotics/idl_parser.svg?branch=master
|
|
96
|
+
:target: https://travis-ci.org/sugarsweetrobotics/idl_parser
|
|
97
|
+
|
|
98
|
+
Platform: UNKNOWN
|
|
99
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
100
|
+
Classifier: Environment :: Console
|
|
101
|
+
Classifier: Intended Audience :: Developers
|
|
102
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
103
|
+
Classifier: Natural Language :: English
|
|
104
|
+
Classifier: Operating System :: OS Independent
|
|
105
|
+
Classifier: Programming Language :: Python
|
|
106
|
+
Classifier: Topic :: Scientific/Engineering
|
|
@@ -3,11 +3,11 @@ import sys
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
long_description = open('README.
|
|
6
|
+
long_description = open('README.rst', 'r').read()
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
setup(name='idl_parser',
|
|
10
|
-
version='0.0.
|
|
10
|
+
version='0.0.6',
|
|
11
11
|
url = 'http://www.sugarsweetrobotics.com/',
|
|
12
12
|
author = 'ysuga',
|
|
13
13
|
author_email = 'ysuga@ysuga.net',
|
idl_parser-0.0.4/PKG-INFO
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.1
|
|
2
|
-
Name: idl_parser
|
|
3
|
-
Version: 0.0.4
|
|
4
|
-
Summary: Very simple OMG IDL (Interface Definition Language) parser. This parses IDL files and outputs intermediate class objects.
|
|
5
|
-
Home-page: http://www.sugarsweetrobotics.com/
|
|
6
|
-
Author: ysuga
|
|
7
|
-
Author-email: ysuga@ysuga.net
|
|
8
|
-
License: GPLv3
|
|
9
|
-
Download-URL: https://github.com/sugarsweetrobotics/idl_parser
|
|
10
|
-
Description: # idl_parser
|
|
11
|
-
|
|
12
|
-
[](https://travis-ci.org/sugarsweetrobotics/idl_parser)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Description
|
|
16
|
-
|
|
17
|
-
OMG IDL file parser. This library just parse IDL files, and output intermidiate type objects.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
```
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
from idl_parser import parser
|
|
26
|
-
parser_ = parser.IDLParser()
|
|
27
|
-
idl_str = """
|
|
28
|
-
module my_module {
|
|
29
|
-
struct Time {
|
|
30
|
-
long sec;
|
|
31
|
-
long usec;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
typedef sequence<double> DoubleSeq;
|
|
35
|
-
|
|
36
|
-
struct TimedDoubleSeq {
|
|
37
|
-
Time tm;
|
|
38
|
-
DoubleSeq data;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
enum RETURN_VALUE {
|
|
42
|
-
RETURN_OK,
|
|
43
|
-
RETURN_FAILED,
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
interface DataGetter {
|
|
47
|
-
RETURN_VALUE getData(out TimedDoubleSeq data);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
"""
|
|
52
|
-
|
|
53
|
-
global_module = parser_.load(idl_str)
|
|
54
|
-
my_module = global_module.module_by_name('my_module')
|
|
55
|
-
dataGetter = my_module.interface_by_name('DataGetter')
|
|
56
|
-
print 'DataGetter interface'
|
|
57
|
-
for m in dataGetter.methods:
|
|
58
|
-
print '- method:'
|
|
59
|
-
print ' name:', m.name
|
|
60
|
-
print ' returns:', m.returns.name
|
|
61
|
-
print ' arguments:'
|
|
62
|
-
for a in m.arguments:
|
|
63
|
-
print ' name:', a.name
|
|
64
|
-
print ' type:', a.type
|
|
65
|
-
print ' direction:', a.direction
|
|
66
|
-
|
|
67
|
-
doubleSeq = my_module.typedef_by_name('DoubleSeq')
|
|
68
|
-
print 'typedef %s %s' % (doubleSeq.type.name, doubleSeq.name)
|
|
69
|
-
|
|
70
|
-
timedDoubleSeq = my_module.struct_by_name('TimedDoubleSeq')
|
|
71
|
-
print 'TimedDoubleSeq'
|
|
72
|
-
for m in timedDoubleSeq.members:
|
|
73
|
-
print '- member:'
|
|
74
|
-
print ' name:', m.name
|
|
75
|
-
print ' type:', m.type.name
|
|
76
|
-
```
|
|
77
|
-
## How to install
|
|
78
|
-
sudo pip install idl_parser
|
|
79
|
-
|
|
80
|
-
## Copyright
|
|
81
|
-
* author: Yuki Suga
|
|
82
|
-
* copyright: Yuki Suga @ ssr.tokyo
|
|
83
|
-
* license: GPLv3
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
Platform: UNKNOWN
|
|
87
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
88
|
-
Classifier: Environment :: Console
|
|
89
|
-
Classifier: Intended Audience :: Developers
|
|
90
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
91
|
-
Classifier: Natural Language :: English
|
|
92
|
-
Classifier: Operating System :: OS Independent
|
|
93
|
-
Classifier: Programming Language :: Python
|
|
94
|
-
Classifier: Topic :: Scientific/Engineering
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.1
|
|
2
|
-
Name: idl-parser
|
|
3
|
-
Version: 0.0.4
|
|
4
|
-
Summary: Very simple OMG IDL (Interface Definition Language) parser. This parses IDL files and outputs intermediate class objects.
|
|
5
|
-
Home-page: http://www.sugarsweetrobotics.com/
|
|
6
|
-
Author: ysuga
|
|
7
|
-
Author-email: ysuga@ysuga.net
|
|
8
|
-
License: GPLv3
|
|
9
|
-
Download-URL: https://github.com/sugarsweetrobotics/idl_parser
|
|
10
|
-
Description: # idl_parser
|
|
11
|
-
|
|
12
|
-
[](https://travis-ci.org/sugarsweetrobotics/idl_parser)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Description
|
|
16
|
-
|
|
17
|
-
OMG IDL file parser. This library just parse IDL files, and output intermidiate type objects.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
```
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
|
|
25
|
-
from idl_parser import parser
|
|
26
|
-
parser_ = parser.IDLParser()
|
|
27
|
-
idl_str = """
|
|
28
|
-
module my_module {
|
|
29
|
-
struct Time {
|
|
30
|
-
long sec;
|
|
31
|
-
long usec;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
typedef sequence<double> DoubleSeq;
|
|
35
|
-
|
|
36
|
-
struct TimedDoubleSeq {
|
|
37
|
-
Time tm;
|
|
38
|
-
DoubleSeq data;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
enum RETURN_VALUE {
|
|
42
|
-
RETURN_OK,
|
|
43
|
-
RETURN_FAILED,
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
interface DataGetter {
|
|
47
|
-
RETURN_VALUE getData(out TimedDoubleSeq data);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
"""
|
|
52
|
-
|
|
53
|
-
global_module = parser_.load(idl_str)
|
|
54
|
-
my_module = global_module.module_by_name('my_module')
|
|
55
|
-
dataGetter = my_module.interface_by_name('DataGetter')
|
|
56
|
-
print 'DataGetter interface'
|
|
57
|
-
for m in dataGetter.methods:
|
|
58
|
-
print '- method:'
|
|
59
|
-
print ' name:', m.name
|
|
60
|
-
print ' returns:', m.returns.name
|
|
61
|
-
print ' arguments:'
|
|
62
|
-
for a in m.arguments:
|
|
63
|
-
print ' name:', a.name
|
|
64
|
-
print ' type:', a.type
|
|
65
|
-
print ' direction:', a.direction
|
|
66
|
-
|
|
67
|
-
doubleSeq = my_module.typedef_by_name('DoubleSeq')
|
|
68
|
-
print 'typedef %s %s' % (doubleSeq.type.name, doubleSeq.name)
|
|
69
|
-
|
|
70
|
-
timedDoubleSeq = my_module.struct_by_name('TimedDoubleSeq')
|
|
71
|
-
print 'TimedDoubleSeq'
|
|
72
|
-
for m in timedDoubleSeq.members:
|
|
73
|
-
print '- member:'
|
|
74
|
-
print ' name:', m.name
|
|
75
|
-
print ' type:', m.type.name
|
|
76
|
-
```
|
|
77
|
-
## How to install
|
|
78
|
-
sudo pip install idl_parser
|
|
79
|
-
|
|
80
|
-
## Copyright
|
|
81
|
-
* author: Yuki Suga
|
|
82
|
-
* copyright: Yuki Suga @ ssr.tokyo
|
|
83
|
-
* license: GPLv3
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
Platform: UNKNOWN
|
|
87
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
88
|
-
Classifier: Environment :: Console
|
|
89
|
-
Classifier: Intended Audience :: Developers
|
|
90
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
91
|
-
Classifier: Natural Language :: English
|
|
92
|
-
Classifier: Operating System :: OS Independent
|
|
93
|
-
Classifier: Programming Language :: Python
|
|
94
|
-
Classifier: Topic :: Scientific/Engineering
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|