Lines Matching refs:value_index
326 /// \param value_index The stack index in which the value resides.
328 /// \throw value_error If the value in state(value_index) cannot be
331 config::bool_node::set_lua(lutok::state& state, const int value_index)
333 if (state.is_boolean(value_index))
334 set(state.to_boolean(value_index));
365 /// \param value_index The stack index in which the value resides.
367 /// \throw value_error If the value in state(value_index) cannot be
370 config::int_node::set_lua(lutok::state& state, const int value_index)
372 if (state.is_number(value_index))
373 set(state.to_integer(value_index));
404 /// \param value_index The stack index in which the value resides.
406 /// \throw value_error If the value in state(value_index) cannot be
409 config::string_node::set_lua(lutok::state& state, const int value_index)
411 if (state.is_string(value_index))
412 set(state.to_string(value_index));