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

Constructor & Destructor Documentation

◆ BinaryOperatorExpression()

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

Definition at line 205 of file Nodes.h.

References clang::classof().

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

◆ getOperatorToken()

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

Definition at line 212 of file Nodes.cpp.

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

◆ getRhs()

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

Definition at line 216 of file Nodes.cpp.

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


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