class MemberExpression
Declaration
class MemberExpression : public Expression { /* full declaration omitted */ };
Description
Models a class member access. C++ [expr.ref] member-expression: expression -> template_opt id-expression expression . template_opt id-expression e.g. `x.a`, `xp->a` Note: An implicit member access inside a class, i.e. `a` instead of `this->a`, is an `id-expression`.
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:321
Inherits from: Expression
Member Variables
Method Overview
- public MemberExpression()
- public static bool classof(const clang::syntax::Node * N)
- public clang::syntax::Leaf * getAccessToken()
- public const clang::syntax::Leaf * getAccessToken() const
- public clang::syntax::IdExpression * getMember()
- public const clang::syntax::IdExpression * getMember() const
- public clang::syntax::Expression * getObject()
- public const clang::syntax::Expression * getObject() const
- public clang::syntax::Leaf * getTemplateKeyword()
- public const clang::syntax::Leaf * getTemplateKeyword() const
Inherited from Expression:
Inherited from Tree:
- public classof
- public findChild
- public findChild
- public findFirstLeaf
- public findFirstLeaf
- public findLastLeaf
- public findLastLeaf
- public getChildren
- public getChildren
- public getFirstChild
- public getFirstChild
- public getLastChild
- public getLastChild
Inherited from Node:
- public assertInvariants
- public assertInvariantsRecursive
- public canModify
- public dump
- public dumpTokens
- public getKind
- public getNextSibling
- public getNextSibling
- public getParent
- public getParent
- public getPreviousSibling
- public getPreviousSibling
- public getRole
- public isDetached
- public isOriginal
Methods
¶MemberExpression()
MemberExpression()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:323
¶static bool classof(const clang::syntax::Node* N)
static bool classof(const clang::syntax::Node* N)
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:348
Parameters
- const clang::syntax::Node* N
¶clang::syntax::Leaf* getAccessToken()
clang::syntax::Leaf* getAccessToken()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:330
¶const clang::syntax::Leaf* getAccessToken() const
const clang::syntax::Leaf* getAccessToken() const
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:333
¶clang::syntax::IdExpression* getMember()
clang::syntax::IdExpression* getMember()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:342
¶const clang::syntax::IdExpression* getMember()
const
const clang::syntax::IdExpression* getMember()
const
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:345
¶clang::syntax::Expression* getObject()
clang::syntax::Expression* getObject()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:324
¶const clang::syntax::Expression* getObject() const
const clang::syntax::Expression* getObject() const
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:327
¶clang::syntax::Leaf* getTemplateKeyword()
clang::syntax::Leaf* getTemplateKeyword()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:336
¶const clang::syntax::Leaf* getTemplateKeyword()
const
const clang::syntax::Leaf* getTemplateKeyword()
const
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:339