clang 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::syntax::BinaryOperatorExpression Class Referencefinal

<lhs> <operator> <rhs> More...

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

Inheritance diagram for clang::syntax::BinaryOperatorExpression:
Inheritance graph
[legend]

Public Member Functions

 BinaryOperatorExpression ()
 
ExpressiongetLhs ()
 
LeafgetOperatorToken ()
 
ExpressiongetRhs ()
 

Static Public Member Functions

static bool classof (const Node *N)
 

Detailed Description

<lhs> <operator> <rhs>

For example: a + b a bitor 1 a |= b a and_eq b

Definition at line 198 of file Nodes.h.

Constructor & Destructor Documentation

◆ BinaryOperatorExpression()

clang::syntax::BinaryOperatorExpression::BinaryOperatorExpression ( )
inline

Definition at line 200 of file Nodes.h.

Member Function Documentation

◆ classof()

static bool clang::syntax::BinaryOperatorExpression::classof ( const Node N)
static

◆ getLhs()

syntax::Expression * syntax::BinaryOperatorExpression::getLhs ( )

Definition at line 199 of file Nodes.cpp.

References clang::syntax::LeftHandSide.

◆ getOperatorToken()

syntax::Leaf * syntax::BinaryOperatorExpression::getOperatorToken ( )

Definition at line 212 of file Nodes.cpp.

References clang::syntax::OperatorToken.

◆ getRhs()

syntax::Expression * syntax::BinaryOperatorExpression::getRhs ( )

Definition at line 216 of file Nodes.cpp.

References clang::syntax::RightHandSide.


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