| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove AbstractMetaAttributes as a base class of
AbstractMetaFunction and AbstractMetaClass.
Split the Attributes enumerations into those applying
to classes and functions, respectively and add them
to AbstractMetaFunction and AbstractMetaClass.
Change-Id: Ie60517876af4096fd6234479ee7dc7fbcca1eda6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extract the AcessPolicy enum from the code model into a global
enum and remove the access specifiers from
AbstractMetaAttributes.
AbstractMetaField and AbstractMetaEnum get access()/setAccess()
functions and no longer need to inherit AbstractMetaAttributes which
removes the attributes that do not apply to them.
AbstractMetaFunction gets access()/setAccess() functions, too,
and handling for remembering the original access before modifications.
AbstractMetaAttributes::originalAttributes can then be removed
since it is not used otherwise.
Simplify the code accordingly.
Change-Id: Ie4529fc753f127975b5c56ee07b27419802361d6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It does not really belong there; also it was shadowed
by AbstractMetaVariable::Documentation.
Add it to the inheriting classes instead.
Change-Id: Id50344f653b52fa8501162e600879bcc71cd5824
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
Split out enums, fields and functions. Only
AbstractMetaClass remains in abstractmetalang.h.
Change-Id: I49846f92fafc5969d83aa4a1767eb4ac23f39d1c
Reviewed-by: Christian Tismer <tismer@stackless.com>
|