MLIR
20.0.0git
|
This expression represents a named member or field access of a given parent expression. More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
Public Member Functions | |
const Expr * | getParentExpr () const |
Get the parent expression of this access. More... | |
StringRef | getMemberName () const |
Return the name of the member being accessed. More... | |
Static Public Member Functions | |
static MemberAccessExpr * | create (Context &ctx, SMRange loc, const Expr *parentExpr, StringRef memberName, Type type) |
Static Public Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
static bool | classof (const Node *node) |
Provide type casting support. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
using | Base = NodeBase< T, BaseT > |
Protected Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
template<typename... Args> | |
NodeBase (SMRange loc, Args &&...args) | |
This expression represents a named member or field access of a given parent expression.
|
static |
Definition at line 295 of file Nodes.cpp.
References mlir::pdll::ast::Context::getAllocator().
Referenced by mlir::pdll::ast::AllResultsMemberAccessExpr::create().
|
inline |
Return the name of the member being accessed.
Definition at line 465 of file Nodes.h.
Referenced by mlir::pdll::ast::AllResultsMemberAccessExpr::classof().
|
inline |