51 using ResourceTable = ::std::unordered_map<::HashedString, ::ExpressionNode::ResourceReference>;
60 ::ll::TypedStorage<8, 16, ::std::variant<::std::unique_ptr<::Molang::details::IComplexExpression>,
float>> mImpl;
69 std::string
const& expression,
70 ::MolangVersion molangVersion,
71 ::gsl::span<::HashedString const> querySetID
75 config.mVersion = molangVersion;
76 config.mAllowedQuerySets = querySetID;
77 parse(expression, config);
89 MCAPI
ExpressionNode(::std::string
const& expression, ::MolangVersion molangVersion);
97 MCAPI ::MolangScriptArg
const& evalGeneric(
::RenderParams& renderParams)
const;
99 MCAPI ::std::string getExpressionString()
const;
101 MCAPI ::MolangCompileResult link();
107 MCAPI ::ExpressionNode& operator=(
float value);
117 MCAPI
static bool _initializeMolangQueries();
119 MCAPI
static void initializeMolang();
121 MCAPI static ::std::function<
123 queryFunctionAccessorFromString(
124 ::std::string
const& functionName,
125 ::MolangVersion molangVersion,
126 ::MolangQueryFunctionReturnType& functionReturnType,
127 bool missingIsOkay_returnNullIfSo
130 MCAPI static ::MolangQueryFunction& registerQueryFunction(
131 ::std::string_view queryFunctionName,
133 ::std::string_view documentation,
134 ::MolangQueryFunctionReturnType returnType,
136 uint64 minArgumentCount,
137 uint64 maxArgumentCount,
138 ::std::initializer_list<int>
const& experiments
142 unregisterQueryFunction(::std::string
const& queryFunctionName,
::HashedString querySetIdentifier);
149 _defaultUnknownQueryFunction();
152 mGetParticleTintFunc();
154 MCAPI static ::std::unordered_multimap<::HashedString, ::MolangQueryFunction>& mQueryFunctionAccessors();
156 MCAPI static ::std::unordered_map<::HashedString, ::std::unordered_set<::HashedString>>& mQuerySets();
166 MCAPI
void* $ctor(
float value);
168 MCAPI
void* $ctor(::std::string
const& expression, ::MolangVersion molangVersion);