Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::ParseNodeCount Struct Reference

A set of counters for Bond parse node types. More...

#include <bond/tools/parsenodecounter.h>

Public Member Functions

 ParseNodeCount (int defaultValue=0)
 Constructs a ParseNodeCount and initializes all counters.

Public Attributes

int mTranslationUnit
 Number of TranslationUnit nodes.
int mIncludeDirective
 Number of IncludeDirective nodes.
int mNamespaceDefinition
 Number of NamespaceDefinition nodes.
int mNativeBlock
 Number of NativeBlock nodes.
int mEnumDeclaration
 Number of EnumDeclaration nodes.
int mEnumerator
 Number of Enumerator nodes.
int mStructDeclaration
 Number of StructDeclaration nodes.
int mFunctionDefinition
 Number of FunctionDefinition nodes.
int mFunctionPrototype
 Number of FunctionPrototype nodes.
int mParameter
 Number of Parameter nodes.
int mTypeDescriptor
 Number of TypeDescriptor nodes.
int mTypeSpecifier
 Number of TypeSpecifier nodes.
int mNamedInitializer
 Number of NamedInitializer nodes.
int mInitializer
 Number of Initializer nodes.
int mQualifiedIdentifier
 Number of QualifiedIdentifier nodes.
int mCompoundStatement
 Number of CompoundStatement nodes.
int mIfStatement
 Number of IfStatement nodes.
int mSwitchStatement
 Number of SwitchStatement nodes.
int mSwitchSection
 Number of SwitchSection nodes.
int mSwitchLabel
 Number of SwitchLabel nodes.
int mWhileStatement
 Number of WhileStatement nodes.
int mForStatement
 Number of ForStatement nodes.
int mJumpStatement
 Number of JumpStatement nodes.
int mUsingDeclaration
 Number of UsingDeclaration nodes.
int mUsingDirective
 Number of UsingDirective nodes.
int mDeclarativeStatement
 Number of DeclarativeStatement nodes.
int mExpressionStatement
 Number of ExpressionStatement nodes.
int mConditionalExpression
 Number of ConditionalExpression nodes.
int mBinaryExpression
 Number of BinaryExpression nodes.
int mUnaryExpression
 Number of UnaryExpression nodes.
int mPostfixExpression
 Number of PostfixExpression nodes.
int mMemberExpression
 Number of MemberExpression nodes.
int mArraySubscriptExpression
 Number of ArraySubscriptExpression nodes.
int mFunctionCallExpression
 Number of FunctionCallExpression nodes.
int mCastExpression
 Number of CastExpression nodes.
int mPropertyofExpression
 Number of PropertyofExpression nodes.
int mConstantLiteralExpression
 Number of ConstantLiteralExpression nodes.
int mIdentifierExpression
 Number of IdentifierExpression nodes.
int mThisExpression
 Number of ThisExpression nodes.
int mEmptyExpression
 Number of EmptyExpression nodes.

Detailed Description

A set of counters for Bond parse node types.

Constructor & Destructor Documentation

◆ ParseNodeCount()

Bond::ParseNodeCount::ParseNodeCount ( int defaultValue = 0)
inlineexplicit

Constructs a ParseNodeCount and initializes all counters.

Parameters
defaultValueInitial value assigned to each counter.

Member Data Documentation

◆ mArraySubscriptExpression

int Bond::ParseNodeCount::mArraySubscriptExpression

Number of ArraySubscriptExpression nodes.

◆ mBinaryExpression

int Bond::ParseNodeCount::mBinaryExpression

Number of BinaryExpression nodes.

◆ mCastExpression

int Bond::ParseNodeCount::mCastExpression

Number of CastExpression nodes.

◆ mCompoundStatement

int Bond::ParseNodeCount::mCompoundStatement

Number of CompoundStatement nodes.

◆ mConditionalExpression

int Bond::ParseNodeCount::mConditionalExpression

Number of ConditionalExpression nodes.

◆ mConstantLiteralExpression

int Bond::ParseNodeCount::mConstantLiteralExpression

Number of ConstantLiteralExpression nodes.

◆ mDeclarativeStatement

int Bond::ParseNodeCount::mDeclarativeStatement

Number of DeclarativeStatement nodes.

◆ mEmptyExpression

int Bond::ParseNodeCount::mEmptyExpression

Number of EmptyExpression nodes.

◆ mEnumDeclaration

int Bond::ParseNodeCount::mEnumDeclaration

Number of EnumDeclaration nodes.

◆ mEnumerator

int Bond::ParseNodeCount::mEnumerator

Number of Enumerator nodes.

◆ mExpressionStatement

int Bond::ParseNodeCount::mExpressionStatement

Number of ExpressionStatement nodes.

◆ mForStatement

int Bond::ParseNodeCount::mForStatement

Number of ForStatement nodes.

◆ mFunctionCallExpression

int Bond::ParseNodeCount::mFunctionCallExpression

Number of FunctionCallExpression nodes.

◆ mFunctionDefinition

int Bond::ParseNodeCount::mFunctionDefinition

Number of FunctionDefinition nodes.

◆ mFunctionPrototype

int Bond::ParseNodeCount::mFunctionPrototype

Number of FunctionPrototype nodes.

◆ mIdentifierExpression

int Bond::ParseNodeCount::mIdentifierExpression

Number of IdentifierExpression nodes.

◆ mIfStatement

int Bond::ParseNodeCount::mIfStatement

Number of IfStatement nodes.

◆ mIncludeDirective

int Bond::ParseNodeCount::mIncludeDirective

Number of IncludeDirective nodes.

◆ mInitializer

int Bond::ParseNodeCount::mInitializer

Number of Initializer nodes.

◆ mJumpStatement

int Bond::ParseNodeCount::mJumpStatement

Number of JumpStatement nodes.

◆ mMemberExpression

int Bond::ParseNodeCount::mMemberExpression

Number of MemberExpression nodes.

◆ mNamedInitializer

int Bond::ParseNodeCount::mNamedInitializer

Number of NamedInitializer nodes.

◆ mNamespaceDefinition

int Bond::ParseNodeCount::mNamespaceDefinition

Number of NamespaceDefinition nodes.

◆ mNativeBlock

int Bond::ParseNodeCount::mNativeBlock

Number of NativeBlock nodes.

◆ mParameter

int Bond::ParseNodeCount::mParameter

Number of Parameter nodes.

◆ mPostfixExpression

int Bond::ParseNodeCount::mPostfixExpression

Number of PostfixExpression nodes.

◆ mPropertyofExpression

int Bond::ParseNodeCount::mPropertyofExpression

Number of PropertyofExpression nodes.

◆ mQualifiedIdentifier

int Bond::ParseNodeCount::mQualifiedIdentifier

Number of QualifiedIdentifier nodes.

◆ mStructDeclaration

int Bond::ParseNodeCount::mStructDeclaration

Number of StructDeclaration nodes.

◆ mSwitchLabel

int Bond::ParseNodeCount::mSwitchLabel

Number of SwitchLabel nodes.

◆ mSwitchSection

int Bond::ParseNodeCount::mSwitchSection

Number of SwitchSection nodes.

◆ mSwitchStatement

int Bond::ParseNodeCount::mSwitchStatement

Number of SwitchStatement nodes.

◆ mThisExpression

int Bond::ParseNodeCount::mThisExpression

Number of ThisExpression nodes.

◆ mTranslationUnit

int Bond::ParseNodeCount::mTranslationUnit

Number of TranslationUnit nodes.

◆ mTypeDescriptor

int Bond::ParseNodeCount::mTypeDescriptor

Number of TypeDescriptor nodes.

◆ mTypeSpecifier

int Bond::ParseNodeCount::mTypeSpecifier

Number of TypeSpecifier nodes.

◆ mUnaryExpression

int Bond::ParseNodeCount::mUnaryExpression

Number of UnaryExpression nodes.

◆ mUsingDeclaration

int Bond::ParseNodeCount::mUsingDeclaration

Number of UsingDeclaration nodes.

◆ mUsingDirective

int Bond::ParseNodeCount::mUsingDirective

Number of UsingDirective nodes.

◆ mWhileStatement

int Bond::ParseNodeCount::mWhileStatement

Number of WhileStatement nodes.


The documentation for this struct was generated from the following file:
  • include/bond/tools/parsenodecounter.h