MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / parse_term

Method parse_term

Source/3rdParty/yuescript/parser.cpp:461–468  ·  view source on GitHub ↗

parse terminal

Source from the content-addressed store, hash-verified

459
460 // parse terminal
461 virtual bool parse_term(_context& con) const override {
462 pos pos = con.m_pos;
463 if (m_expr->parse_term(con)) {
464 item_t item = {&pos, &con.m_pos, con.m_user_data};
465 return m_handler(item);
466 }
467 return false;
468 }
469
470private:
471 user_handler m_handler;

Callers

nothing calls this directly

Calls 1

parse_termMethod · 0.45

Tested by

no test coverage detected