clang  12.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]
Collaboration diagram for clang::syntax::UnaryOperatorExpression:
Collaboration 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 160 of file Nodes.h.

Constructor & Destructor Documentation

◆ UnaryOperatorExpression()

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

Definition at line 162 of file Nodes.h.

References clang::classof().

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::Tree::findChild(), and clang::syntax::Operand.

◆ getOperatorToken()

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

Definition at line 204 of file Nodes.cpp.

References clang::syntax::Tree::findChild(), and clang::syntax::OperatorToken.


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