52 using ResourceTable = ::std::unordered_map<::HashedString, ::ExpressionNode::ResourceReference>;
64 ::ll::TypedStorage<8, 16, ::std::variant<::std::unique_ptr<::Molang::details::IComplexExpression>,
float>> mImpl;
73 std::string
const& expression,
74 ::MolangVersion molangVersion,
75 ::gsl::span<::HashedString const> querySetID
79 config.mVersion = molangVersion;
80 config.mAllowedQuerySets = querySetID;
81 parse(expression, config);
91 MCAPI
ExpressionNode(::std::string
const& expression, ::MolangVersion molangVersion);
97 MCAPI ::std::optional<::MolangScriptArg> _getValueIfConstant()
const;
101 MCAPI ::MolangScriptArg
const& evalGeneric(
::RenderParams& renderParams)
const;
103 MCAPI ::std::string getExpressionString()
const;
105 MCAPI ::MolangCompileResult link();
111 MCAPI ::ExpressionNode& operator=(
float value);
121 MCAPI
static bool _initializeMolangQueries();
123 MCAPI
static void initializeMolang();
125 MCAPI static ::std::function<
127 queryFunctionAccessorFromString(
129 ::MolangVersion molangVersion,
130 ::MolangQueryFunctionReturnType& functionReturnType,
131 bool missingIsOkay_returnNullIfSo
134 MCAPI static ::MolangQueryFunction& registerQueryFunction(
135 ::std::string_view queryFunctionName,
137 ::std::string_view documentation,
138 ::MolangQueryFunctionReturnType returnType,
140 uint64 minArgumentCount,
141 uint64 maxArgumentCount,
142 ::std::initializer_list<int>
const& experiments
146 unregisterQueryFunction(::std::string
const& queryFunctionName,
::HashedString querySetIdentifier);
153 _defaultUnknownQueryFunction();
156 mGetParticleTintFunc();
158 MCAPI static ::std::unordered_multimap<::HashedString, ::MolangQueryFunction>& mQueryFunctionAccessors();
160 MCAPI static ::std::unordered_map<::HashedString, ::std::unordered_set<::HashedString>>& mQuerySets();
170 MCAPI
void* $ctor(::std::string
const& expression, ::MolangVersion molangVersion);