使用UNO的idl的时候,要避免使用Unoidl的关键字,如果使用了的话,编译的时候会报一些莫名的错误。
以下是它的关键字和保留字。
Keywords
The following table shows all keywords of the unoidl. All the keywords are
reserved and cannot be used as an identifier.
| any | attribute | boolean | bound | byte |
case
—|—|—|—|—|—
char | const | constants | constrained | default |
double
enum
| exception | float |
hyper
|
in
|
inout
interface
|
long
|
maybeambigious
|
maybedefault
|
maybevoid
|
module
needs
|
observes
|
oneway
|
optional
|
out
|
property
raises | readonly | removable | sequence | service |
short
string | struct | switch | transient | type |
typedef
union | unsigned | void | FALSE | False | TRUE
True | | | | |
U n