MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / parser

Method parser

extern/boost/boost/test/utils/runtime/cla/parser.hpp:135–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133#else
134 template<typename Modifiers>
135 parser( parameters_store const& parameters, Modifiers const& m )
136#endif
137 {
138 nfp::opt_assign( m_end_of_param_indicator, m, end_of_params );
139 nfp::opt_assign( m_negation_prefix, m, negation_prefix );
140
141 BOOST_TEST_I_ASSRT( algorithm::all_of( m_end_of_param_indicator.begin(),
142 m_end_of_param_indicator.end(),
143 parameter_cla_id::valid_prefix_char ),
144 invalid_cla_id() << "End of parameters indicator can only consist of prefix characters." );
145
146 BOOST_TEST_I_ASSRT( algorithm::all_of( m_negation_prefix.begin(),
147 m_negation_prefix.end(),
148 parameter_cla_id::valid_name_char ),
149 invalid_cla_id() << "Negation prefix can only consist of prefix characters." );
150
151 build_trie( parameters );
152 }
153
154 // input processing method
155 int

Callers

nothing calls this directly

Calls 4

opt_assignFunction · 0.85
all_ofFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected