MCPcopy Create free account
hub / github.com/apache/trafficserver / ParseState

Class ParseState

lib/catch2/catch.hpp:9046–9060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9044 };
9045
9046 class ParseState {
9047 public:
9048
9049 ParseState( ParseResultType type, TokenStream const &remainingTokens )
9050 : m_type(type),
9051 m_remainingTokens( remainingTokens )
9052 {}
9053
9054 auto type() const -> ParseResultType { return m_type; }
9055 auto remainingTokens() const -> TokenStream { return m_remainingTokens; }
9056
9057 private:
9058 ParseResultType m_type;
9059 TokenStream m_remainingTokens;
9060 };
9061
9062 using Result = BasicResult<void>;
9063 using ParserResult = BasicResult<ParseResultType>;

Callers 4

parseMethod · 0.70
parseMethod · 0.70
parseMethod · 0.70
parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected