Skip to content

BooleanQuery

Simplifies development of queries on the AST resulting in a single boolean value.

Synopsis

Enums

Name

Description

TypeOfQueryType

Specify return of variable names or type names (list<string> is not specific enough so we can't handle this).

Member Functions

Name

Description

BooleanQuery [constructor]

Constructors

~BooleanQuery [destructor] [virtual]

default constructor, destructor, copy constructor and assignment operator.

operator=

Copy assignment operator

Static Member Functions

Name

Description

isContainedInSubtreeOfType

checks chain of parents from current node to root of AST for node of targetVariant.

isStruct

Member functions called on each node.

isUnion

does the AST contain a union?

Private Member Functions

Name

Description

evaluateInheritedAttribute [virtual]

Functions required by the global tree traversal mechanism

evaluateSynthesizedAttribute [virtual]

Functions required by the global tree traversal mechanism

Private Static Member Functions

Name

Description

internalBooleanQuery

internal support function

Description

This class uses several static member functions within its interface. Each member function takes an AST node pointer (any subtree of the AST).

Created with MrDocs