mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Rename ScriptNode::Types to With/WithoutParentheses
Because some functions already have the parentheses in their name, so their type would have been Variable but it is clearer to give it the type WithoutParentheses. this is the case for nodes created from toolbox nodes.
This commit is contained in:
@@ -9,10 +9,10 @@ namespace Code {
|
||||
class ScriptNode {
|
||||
public:
|
||||
enum class Type : bool {
|
||||
Function,
|
||||
Variable
|
||||
WithoutParentheses,
|
||||
WithParentheses
|
||||
};
|
||||
ScriptNode(Type type = Type::Variable, const char * name = nullptr, int nameLength = -1, const char * nodeSourceName = nullptr, const char * description = nullptr) :
|
||||
ScriptNode(Type type = Type::WithoutParentheses, const char * name = nullptr, int nameLength = -1, const char * nodeSourceName = nullptr, const char * description = nullptr) :
|
||||
m_type(type),
|
||||
m_name(name),
|
||||
m_nodeSourceName(nodeSourceName),
|
||||
|
||||
Reference in New Issue
Block a user