clang rule token
More...
#include <clang_token.h>
|
typedef std::shared_ptr< const CLangToken > | ConstPtr |
| smart pointer type
|
|
typedef std::vector< ConstPtr > | Cont |
|
| CLangToken () |
| protected constructor
|
|
◆ CLangTokenRule()
rcsc::CLangTokenRule::CLangTokenRule |
( |
const int |
ttl | ) |
|
|
inlineexplicit |
construct with ttl value.
- Parameters
-
◆ addDirective()
add directive to this rule
- Parameters
-
dir | new directive object pointer |
◆ condition()
get the rule condition
- Returns
- condtion object pointer
◆ directives()
get the directive list
- Returns
- directive list
◆ print()
virtual std::ostream & rcsc::CLangTokenRule::print |
( |
std::ostream & |
os | ) |
const |
|
virtual |
print clang message to the output stream
- Parameters
-
os | reference to the output stream |
- Returns
- reference to the output stream
Implements rcsc::CLangToken.
◆ setCondition()
set rule condition
- Parameters
-
cond | new condition object pointer |
◆ setTTL()
void rcsc::CLangTokenRule::setTTL |
( |
const int |
ttl | ) |
|
|
inline |
◆ ttl()
int rcsc::CLangTokenRule::ttl |
( |
| ) |
const |
|
inline |
get TTL value
- Returns
- TTL value
The documentation for this class was generated from the following file: