Doxygen
|
Holds yyextra->modifiers (ie attributes) for one symbol (variable, function, etc) More...
Public Types | |
enum | Protection { NONE_P , PUBLIC , PRIVATE } |
enum | Direction { NONE_D , IN , OUT , INOUT } |
Public Member Functions | |
SymbolModifiers () | |
SymbolModifiers & | operator|= (const SymbolModifiers &mdfs) |
SymbolModifiers & | operator|= (QCString mdfrString) |
Public Attributes | |
QCString | type |
This is only used with function return value. | |
QCString | returnName |
Protection | protection |
Direction | direction |
bool | optional |
bool | protect |
QCString | dimension |
bool | allocatable |
bool | external |
bool | intrinsic |
bool | parameter |
bool | pointer |
bool | target |
bool | save |
bool | deferred |
bool | nonoverridable |
bool | nopass |
bool | pass |
bool | contiguous |
bool | volat |
bool | value |
QCString | passVar |
QCString | bindVar |
Holds yyextra->modifiers (ie attributes) for one symbol (variable, function, etc)
Definition at line 91 of file fortranscanner.l.
Enumerator | |
---|---|
NONE_D | |
IN | |
OUT | |
INOUT |
Definition at line 94 of file fortranscanner.l.
Enumerator | |
---|---|
NONE_P | |
PUBLIC | |
PRIVATE |
Definition at line 93 of file fortranscanner.l.
|
inline |
Definition at line 120 of file fortranscanner.l.
References allocatable, bindVar, contiguous, deferred, dimension, direction, external, FALSE, intrinsic, NONE_D, NONE_P, nonoverridable, nopass, optional, parameter, pass, passVar, pointer, protect, protection, returnName, save, target, type, value, and volat.
Referenced by operator|=(), and operator|=().
SymbolModifiers & SymbolModifiers::operator|= | ( | const SymbolModifiers & | mdfs | ) |
Adds passed yyextra->modifiers to these yyextra->modifiers.
Definition at line 2252 of file fortranscanner.l.
References allocatable, bindVar, contiguous, deferred, dimension, direction, external, intrinsic, QCString::isEmpty(), NONE_D, NONE_P, nonoverridable, nopass, optional, parameter, pass, passVar, pointer, protect, protection, save, SymbolModifiers(), target, value, and volat.
SymbolModifiers & SymbolModifiers::operator|= | ( | QCString | mdfStringArg | ) |
Extracts and adds passed modifier to these yyextra->modifiers.
Definition at line 2279 of file fortranscanner.l.
References allocatable, bindVar, QCString::contains(), contiguous, deferred, dimension, direction, external, extractBind(), extractFromParens(), QCString::find(), IN, INOUT, intrinsic, QCString::lower(), nonoverridable, nopass, optional, OUT, parameter, pass, passVar, pointer, PRIVATE, protect, protection, PUBLIC, save, QCString::startsWith(), SymbolModifiers(), target, TRUE, value, and volat.
bool SymbolModifiers::allocatable |
Definition at line 103 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
QCString SymbolModifiers::bindVar |
Definition at line 118 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::contiguous |
Definition at line 114 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::deferred |
Definition at line 110 of file fortranscanner.l.
Referenced by applyModifiers(), applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
QCString SymbolModifiers::dimension |
Definition at line 102 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
Direction SymbolModifiers::direction |
Definition at line 99 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::external |
Definition at line 104 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::intrinsic |
Definition at line 105 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::nonoverridable |
Definition at line 111 of file fortranscanner.l.
Referenced by applyModifiers(), applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::nopass |
Definition at line 112 of file fortranscanner.l.
Referenced by applyModifiers(), applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::optional |
Definition at line 100 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::parameter |
Definition at line 106 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::pass |
Definition at line 113 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
QCString SymbolModifiers::passVar |
Definition at line 117 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::pointer |
Definition at line 107 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::protect |
Definition at line 101 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
Protection SymbolModifiers::protection |
Definition at line 98 of file fortranscanner.l.
Referenced by applyModifiers(), applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
QCString SymbolModifiers::returnName |
Definition at line 97 of file fortranscanner.l.
Referenced by SymbolModifiers().
bool SymbolModifiers::save |
Definition at line 109 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::target |
Definition at line 108 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
QCString SymbolModifiers::type |
This is only used with function return value.
Definition at line 97 of file fortranscanner.l.
Referenced by SymbolModifiers().
bool SymbolModifiers::value |
Definition at line 116 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().
bool SymbolModifiers::volat |
Definition at line 115 of file fortranscanner.l.
Referenced by applyModifiers(), operator|=(), operator|=(), and SymbolModifiers().