MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ParseState

Class ParseState

extern/Catch2/catch.hpp:9044–9058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected