Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CommandRegistry::Parser Class Reference

Public Member Functions

Parser & operator= (Parser const &)
 Parser (Parser const &)
MCAPI Parser (::CommandRegistry const &registry, int version)
MCAPI bool _parse (::std::string const &in)
MCAPI ::std::unique_ptr<::CommandSelector<::Actor > > createSelector (::std::string const &selectorString, ::CommandOrigin const &origin)
MCAPI ::std::vector<::std::string > getErrorParams () const
MCAPI bool parseCommand (::std::string const &in)
MCAPI bool parseSelector (::std::string const &in)
MCAPI void * $ctor (::CommandRegistry const &registry, int version)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 8, ::CommandRegistry const & > mRegistry
::ll::TypedStorage< 8, 8, ::CommandRegistry::ParseTable const * > mParseTable
::ll::TypedStorage< 8, 40, ::std::deque<::std::pair<::CommandRegistry::Symbol, ::CommandRegistry::ParseToken * > > > mStack
::ll::TypedStorage< 8, 32, ::CommandRegistry::LexicalToken > mNext
::ll::TypedStorage< 8, 32, ::std::string > mInput
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CommandRegistry::ParseToken > > mRoot
::ll::TypedStorage< 8, 32, ::std::string > mError
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mErrorParams
::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 1, 1, bool > mGenerateParams
::ll::TypedStorage< 1, 1, bool > mBreakAtEnd

Member Function Documentation

◆ _parse()

MCAPI bool CommandRegistry::Parser::_parse ( ::std::string const & in)
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.

◆ createSelector()

MCAPI ::std::unique_ptr<::CommandSelector<::Actor > > CommandRegistry::Parser::createSelector ( ::std::string const & selectorString,
::CommandOrigin const & origin )
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.

◆ getErrorParams()

MCAPI ::std::vector<::std::string > CommandRegistry::Parser::getErrorParams ( ) const
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.

◆ parseSelector()

MCAPI bool CommandRegistry::Parser::parseSelector ( ::std::string const & in)
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 file: