MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ParseState

Class ParseState

Source/ThirdParty/catch2/catch.hpp:9039–9053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9037 };
9038
9039 class ParseState {
9040 public:
9041
9042 ParseState( ParseResultType type, TokenStream const &remainingTokens )
9043 : m_type(type),
9044 m_remainingTokens( remainingTokens )
9045 {}
9046
9047 auto type() const -> ParseResultType { return m_type; }
9048 auto remainingTokens() const -> TokenStream { return m_remainingTokens; }
9049
9050 private:
9051 ParseResultType m_type;
9052 TokenStream m_remainingTokens;
9053 };
9054
9055 using Result = BasicResult<void>;
9056 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