Download RuleWizard User's Guide

Transcript
Available Rule Nodes
Some declaration nodes can be accessed from both their declaration and
expressions which reference that declaration. In these cases, the IsDecl
property returns a boolean, allowing users to distinguish between the
actual declaration and references to that declaration.
Friend
friend function declaration.
Example:
void friendFunc();
class Foo {
public:
friend void friendFunc();
};
// Friend
Functions
Function declarations.
Global Function
Global function declaration.
Example:
void globalFunc1();
void globalFunc2() { }
//
//
//
//
Global Function, IsDecl is true
Is Implementation is false
Global Function, IsDecl is true
Is Implementation is true
Member Function
Reference
Member function declaration.
Example:
class Foo {
public:
void func();
};
// Member Function
Parameter
Function parameter declaration.
Example:
68