53 using ResourceTable = ::std::unordered_map<::HashedString, ::ExpressionNode::ResourceReference>;
65 ::ll::TypedStorage<8, 16, ::std::variant<::std::unique_ptr<::Molang::details::IComplexExpression>,
float>> mImpl;
74 std::string
const& expression,
75 ::MolangVersion molangVersion,
76 ::gsl::span<::HashedString const> querySetID
80 config.mVersion = molangVersion;
81 config.mAllowedQuerySets = querySetID;
82 parse(expression, config);
96 MCAPI
ExpressionNode(::std::string
const& expression, ::MolangVersion molangVersion);
104 MCAPI ::MolangScriptArg
const& evalGeneric(
::RenderParams& renderParams)
const;
106 MCAPI ::std::string getExpressionString()
const;
108 MCAPI ::MolangCompileResult link();
114 MCAPI ::ExpressionNode& operator=(
float value);
124 MCAPI
static bool _initializeMolangQueries();
126 MCAPI
static void initializeMolang();
128 MCAPI static ::std::function<
130 queryFunctionAccessorFromString(
132 ::MolangVersion molangVersion,
133 ::MolangQueryFunctionReturnType& functionReturnType,
134 bool missingIsOkay_returnNullIfSo
137 MCAPI static ::MolangQueryFunction& registerQueryFunction(
138 ::std::string_view queryFunctionName,
140 ::std::string_view documentation,
141 ::MolangQueryFunctionReturnType returnType,
143 uint64 minArgumentCount,
144 uint64 maxArgumentCount,
145 ::std::initializer_list<int>
const& experiments
149 unregisterQueryFunction(::std::string
const& queryFunctionName,
::HashedString querySetIdentifier);
156 _defaultUnknownQueryFunction();
159 mGetParticleTintFunc();
161 MCAPI static ::std::unordered_multimap<::HashedString, ::MolangQueryFunction>& mQueryFunctionAccessors();
163 MCAPI static ::std::unordered_map<::HashedString, ::std::unordered_set<::HashedString>>& mQuerySets();
175 MCAPI
void* $ctor(
float value);
177 MCAPI
void* $ctor(::std::string
const& expression, ::MolangVersion molangVersion);