Skip to content

BooleanQuery::isStruct

Member functions called on each node.

Synopsis

Declared in <src/midend/astQuery/booleanQuery.h>

static
bool
isStruct(SgNode* astNode);

Description

@{

These function return true if any part of the subtree can be evaluated to be true.

A static interface function. We would like to have this be a
    static function, but as a static function it can't call virtual functions
    which makes the design less attractive since we would want to define the
    interface in a abstract base class.

     \internal The names of these functions don't communicate that they report
    containment instead of "is a" behavior.


does the AST contain a struct?

Parameters

Name

Description

astNode

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs