clang 22.0.0git
clang::syntax::UnaryOperatorExpression Class Reference

An abstract class for prefix and postfix unary operators. More...

#include "clang/Tooling/Syntax/Nodes.h"

Inheritance diagram for clang::syntax::UnaryOperatorExpression:
[legend]

Public Member Functions

 UnaryOperatorExpression (NodeKind K)
LeafgetOperatorToken ()
ExpressiongetOperand ()

Static Public Member Functions

static bool classof (const Node *N)

Detailed Description

An abstract class for prefix and postfix unary operators.

Definition at line 155 of file Nodes.h.

Constructor & Destructor Documentation

◆ UnaryOperatorExpression()

clang::syntax::UnaryOperatorExpression::UnaryOperatorExpression ( NodeKind K)
inline

Member Function Documentation

◆ classof()

bool clang::syntax::UnaryOperatorExpression::classof ( const Node * N)
static

◆ getOperand()

syntax::Expression * syntax::UnaryOperatorExpression::getOperand ( )

Definition at line 208 of file Nodes.cpp.

References clang::syntax::Expression, and clang::syntax::Operand.

◆ getOperatorToken()

syntax::Leaf * syntax::UnaryOperatorExpression::getOperatorToken ( )

Definition at line 204 of file Nodes.cpp.

References clang::syntax::OperatorToken.


The documentation for this class was generated from the following files: