|
QGIS API Documentation 4.3.0-Master (0cef2469b72)
|
Represents an Exit loop or Exit Sub/Function statement. More...
#include <qgsvbscript.h>

Public Types | |
| enum class | ExitType { ExitDo , ExitFor , ExitFunction , ExitSub } |
| Object to exit from. More... | |
| 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... | |
Public Member Functions | |
| QgsVbScriptExitStatement (ExitType exitType) | |
| Constructor for QgsVbScriptExitStatement. | |
| void | accept (QgsVbScriptVisitor &visitor) const override |
| Accepts a visitor to traverse the node. | |
| QgsVbScriptNode * | clone () const override |
| Creates a copy of the node. | |
| QString | dump () const override |
| Returns the formatted script representation of the node. | |
| ExitType | exitType () const |
| Returns the exit target scope. | |
| QgsVbScriptNode::NodeType | nodeType () const override |
| Returns the node type. | |
| Public Member Functions inherited from QgsVbScriptStatement | |
| ~QgsVbScriptStatement () override=default | |
| Public Member Functions inherited from QgsVbScriptNode | |
| virtual | ~QgsVbScriptNode ()=default |
Represents an Exit loop or Exit Sub/Function statement.
Definition at line 1085 of file qgsvbscript.h.
|
strong |
Object to exit from.
| Enumerator | |
|---|---|
| ExitDo | Exit Do. |
| ExitFor | Exit For. |
| ExitFunction | Exit Function. |
| ExitSub | Exit Sub. |
Definition at line 1091 of file qgsvbscript.h.
|
explicit |
Constructor for QgsVbScriptExitStatement.
Definition at line 674 of file qgsvbscript.cpp.
|
overridevirtual |
Accepts a visitor to traverse the node.
Implements QgsVbScriptNode.
Definition at line 699 of file qgsvbscript.cpp.
|
overridevirtual |
Creates a copy of the node.
Caller takes ownership of the returned object.
Implements QgsVbScriptNode.
Definition at line 694 of file qgsvbscript.cpp.
|
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 678 of file qgsvbscript.cpp.
|
inline |
Returns the exit target scope.
Definition at line 1112 of file qgsvbscript.h.
|
inlineoverridevirtual |