GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Returns the list of completion descriptions for an expression node. More...
#include <ExpressionCompletionFinder.h>
Inherits gd::ExpressionParser2NodeWorker.
Public Member Functions | |
const std::vector< ExpressionCompletionDescription > & | GetCompletionDescriptions () |
Return the completions found for the visited node. | |
Static Public Member Functions | |
static std::vector< ExpressionCompletionDescription > | GetCompletionDescriptionsFor (const gd::Platform &platform, const gd::ProjectScopedContainers &projectScopedContainers, const gd::String &rootType, gd::ExpressionNode &node, size_t searchedPosition) |
Given the expression, find the node at the specified location and returns completions for it. | |
Protected Member Functions | |
void | OnVisitSubExpressionNode (SubExpressionNode &node) override |
void | OnVisitOperatorNode (OperatorNode &node) override |
void | OnVisitUnaryOperatorNode (UnaryOperatorNode &node) override |
void | OnVisitNumberNode (NumberNode &node) override |
void | OnVisitTextNode (TextNode &node) override |
void | OnVisitVariableNode (VariableNode &node) override |
void | OnVisitVariableAccessorNode (VariableAccessorNode &node) override |
void | OnVisitVariableBracketAccessorNode (VariableBracketAccessorNode &node) override |
void | OnVisitIdentifierNode (IdentifierNode &node) override |
void | OnVisitObjectFunctionNameNode (ObjectFunctionNameNode &node) override |
void | OnVisitFunctionCallNode (FunctionCallNode &node) override |
void | OnVisitEmptyNode (EmptyNode &node) override |
Returns the list of completion descriptions for an expression node.