clang 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
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:
Inheritance graph
[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

Definition at line 157 of file Nodes.h.

Member Function Documentation

◆ classof()

static 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::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: