Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ExprToken Class Reference

Public Types

enum class  StringOption : int { EvaluateAsExpression = 0 , KeepAsString = 1 }
enum class  StringOption : int { EvaluateAsExpression = 0 , KeepAsString = 1 }

Static Public Member Functions

static MCAPI ::ExprToken createExpressionToken (::UiExpression expression)
static MCAPI ::ExprToken createIntToken (int fromInt)
static MCAPI ::ExprToken createStringToken (::std::string_view fromStr, ::ExprToken::StringOption evalString)

Public Attributes

::ll::TypedStorage< 1, 1, ::OperatorType > mOperatorType
::ll::TypedStorage< 1, 1, ::LiteralType > mLiteralType
::ll::TypedStorage< 1, 1, ::ExprTokenType > mTokenType
::ll::TypedStorage< 8, 40, ::std::variant<::Json::Value, ::UiExpression > > mValue

Member Function Documentation

◆ createExpressionToken()

MCAPI ::ExprToken ExprToken::createExpressionToken ( ::UiExpression expression)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createIntToken()

MCAPI ::ExprToken ExprToken::createIntToken ( int fromInt)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createStringToken()

MCAPI ::ExprToken ExprToken::createStringToken ( ::std::string_view fromStr,
::ExprToken::StringOption evalString )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: