Global Function of coref.cfamily.gdl
branchingStatement
- Parameter
s
:Statement
- Return
bool
pub fn branchingStatement(s: Statement) -> bool;
findClassByType
pub fn findClassByType(t: Type, c: Class) -> bool;
inheritedDependency
/**
* @brief Represents the inherite relationship between classes.
*/
pub fn inheritedDependency(c: Class, subClass: Class) -> bool;
callerDependency
/**
* @brief Represents the calling relationship between classes.
*/
pub fn callerDependency(c: Class, callerClass: Class) -> bool;
branchingSwitchCase
// )
- Parameter
sc
:SwitchCase
- Return
bool
pub fn branchingSwitchCase(sc: SwitchCase) -> bool;
branchingExpression
// TODO missing `?`, `&&`, and `||`
- Parameter
expr
:Expression
- Return
bool
pub fn branchingExpression(expr: Expression) -> bool;
dependencyCheck
/**
* @brief Class dependency check.
*/
pub fn dependencyCheck(c: Class, depClass: Class, depType: string) -> bool;
referencedDependency
/**
* @brief Represents the reference relationship between classes.
*/
pub fn referencedDependency(c: Class, refClass: Class) -> bool;