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

Method parse_term

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

parse terminal

Source from the content-addressed store, hash-verified

772
773 // parse terminal
774 virtual bool parse_term(_context& con) const override {
775 _state st(con);
776 if (m_left->parse_term(con)) return true;
777 con.restore(st);
778 return m_right->parse_term(con);
779 }
780
781 virtual EXPR_TYPE get_type() const override {
782 return EXPR_TYPE::CHOICE_TWO;

Callers

nothing calls this directly

Calls 2

parse_termMethod · 0.45
restoreMethod · 0.45

Tested by

no test coverage detected