|
QGIS API Documentation 4.3.0-Master (0cef2469b72)
|
Represents a member access expression using bracket notation. More...
#include <qgsvbscript.h>

Public Member Functions | |
| QgsVbScriptMemberAccessExpression (QgsVbScriptExpression *containerExpression, const QString &memberName) | |
| Constructor for QgsVbScriptMemberAccessExpression. | |
| void | accept (QgsVbScriptVisitor &visitor) const override |
| Accepts a visitor to traverse the node. | |
| QgsVbScriptNode * | clone () const override |
| Creates a copy of the node. | |
| QgsVbScriptExpression * | containerExpression () const |
| Returns the container expression being accessed. | |
| QString | dump () const override |
| Returns the formatted script representation of the node. | |
| QString | memberName () const |
| Returns the member attribute name. | |
| QgsVbScriptNode::NodeType | nodeType () const override |
| Returns the node type. | |
| Public Member Functions inherited from QgsVbScriptExpression | |
| ~QgsVbScriptExpression () override=default | |
| Public Member Functions inherited from QgsVbScriptNode | |
| virtual | ~QgsVbScriptNode ()=default |
Additional Inherited Members | |
| Public Types inherited from QgsVbScriptNode | |
| enum class | NodeType { BlockStatement , VariableDeclarationStatement , AssignmentStatement , FunctionDeclarationStatement , ExpressionStatement , LiteralExpression , VariableReferenceExpression , MemberAccessExpression , BinaryOperatorExpression , UnaryOperatorExpression , FunctionCallExpression , IndexExpression , ArrayLiteralExpression , IfStatement , ForStatement , ForEachStatement , WhileStatement , ExitStatement , FieldReferenceExpression } |
| Node type identifier. More... | |
Represents a member access expression using bracket notation.
Definition at line 520 of file qgsvbscript.h.
| QgsVbScriptMemberAccessExpression::QgsVbScriptMemberAccessExpression | ( | QgsVbScriptExpression * | containerExpression, |
| const QString & | memberName ) |
Constructor for QgsVbScriptMemberAccessExpression.
Ownership of containerExpression is transferred to this expression.
Definition at line 264 of file qgsvbscript.cpp.
|
overridevirtual |
Accepts a visitor to traverse the node.
Implements QgsVbScriptNode.
Definition at line 280 of file qgsvbscript.cpp.
|
overridevirtual |
Creates a copy of the node.
Caller takes ownership of the returned object.
Implements QgsVbScriptNode.
Definition at line 274 of file qgsvbscript.cpp.
|
inline |
Returns the container expression being accessed.
Definition at line 538 of file qgsvbscript.h.
|
overridevirtual |
Returns the formatted script representation of the node.
This can be used to export a script node back to a valid VBScript string.
Implements QgsVbScriptNode.
Definition at line 269 of file qgsvbscript.cpp.
|
inline |
Returns the member attribute name.
Definition at line 543 of file qgsvbscript.h.
|
inlineoverridevirtual |