}
uint16_t
-EvalContext::convert_option_code(const std::string& option_code,
- const isc::eval::location& loc)
+EvalContext::convertOptionCode(const std::string& option_code,
+ const isc::eval::location& loc)
{
int n = 0;
try {
}
uint16_t
-EvalContext::convert_option_name(const std::string& option_name,
- const isc::eval::location& loc)
+EvalContext::convertOptionName(const std::string& option_name,
+ const isc::eval::location& loc)
{
OptionDefinitionPtr option_def = LibDHCP::getOptionDef(option_universe_,
option_name);
/// @result the option code
/// @throw calls the syntax error function if the value is no in
/// the range 0..255 or 0..65535
- uint16_t convert_option_code(const std::string& option_code,
- const isc::eval::location& loc);
+ uint16_t convertOptionCode(const std::string& option_code,
+ const isc::eval::location& loc);
/// @brief Option name convertion
///
/// @param loc the location of the token
/// @result the option code
/// @throw calls the syntax error function if the name cannot be resolved
- uint16_t convert_option_name(const std::string& option_name,
- const isc::eval::location& loc);
+ uint16_t convertOptionName(const std::string& option_name,
+ const isc::eval::location& loc);
private:
/// @brief Flag determining scanner debugging.
-// Generated 20151125
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
case 9:
#line 114 "parser.yy" // lalr1.cc:859
{
- yylhs.value.as< uint16_t > () = ctx.convert_option_code(yystack_[0].value.as< std::string > (), yystack_[0].location);
+ yylhs.value.as< uint16_t > () = ctx.convertOptionCode(yystack_[0].value.as< std::string > (), yystack_[0].location);
}
#line 667 "parser.cc" // lalr1.cc:859
break;
case 10:
#line 118 "parser.yy" // lalr1.cc:859
{
- yylhs.value.as< uint16_t > () = ctx.convert_option_name(yystack_[0].value.as< std::string > (), yystack_[0].location);
+ yylhs.value.as< uint16_t > () = ctx.convertOptionName(yystack_[0].value.as< std::string > (), yystack_[0].location);
}
#line 675 "parser.cc" // lalr1.cc:859
break;
option_code : INTEGER
{
- $$ = ctx.convert_option_code($1, @1);
+ $$ = ctx.convertOptionCode($1, @1);
}
| OPTION_NAME
{
- $$ = ctx.convert_option_name($1, @1);
+ $$ = ctx.convertOptionName($1, @1);
}
;
-// Generated 20151125
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
-// Generated 20151125
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++