MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / parse

Method parse

unittests/catch.hpp:6098–6100  ·  view source on GitHub ↗

The exe name is not parsed out of the normal tokens, but is handled specially

Source from the content-addressed store, hash-verified

6096
6097 // The exe name is not parsed out of the normal tokens, but is handled specially
6098 auto parse( std::string const&, TokenStream const &tokens ) const -> InternalParseResult override {
6099 return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, tokens ) );
6100 }
6101
6102 auto name() const -> std::string { return *m_name; }
6103 auto set( std::string const& newName ) -> ParserResult {

Callers

nothing calls this directly

Calls 1

ParseStateClass · 0.85

Tested by

no test coverage detected