libwordring
|
<id-selector> [詳解]
#include <grammar.hpp>
公開型 | |
using | const_iterator = syntax_primitive_stream::const_iterator |
using | document_type_name = wordring::html::document_type_name |
using | document_mode_name = wordring::html::document_mode_name |
![]() | |
using | const_iterator = syntax_primitive_stream::const_iterator |
using | document_type_name = wordring::html::document_type_name |
using | document_mode_name = wordring::html::document_mode_name |
公開メンバ関数 | |
id_selector (const_iterator first, const_iterator last, std::u32string const &value) | |
std::u32string const & | value () const |
属性値を返す | |
template<typename NodePointer > | |
bool | match (NodePointer const &np, match_context< NodePointer > const &ctx) const |
ノードにマッチするか検査する [詳解] | |
![]() | |
selector_grammar (selector_grammar const &)=default | |
selector_grammar (selector_grammar &&)=default | |
selector_grammar (const_iterator first, const_iterator last) | |
selector_grammar & | operator= (selector_grammar const &)=default |
selector_grammar & | operator= (selector_grammar &&)=default |
operator bool () const | |
bool | operator! () const |
const_iterator | begin () const |
const_iterator | end () const |
静的公開メンバ関数 | |
static id_selector | consume (syntax_primitive_stream in, parse_context &ctx) |
その他の継承メンバ | |
![]() | |
const_iterator | m_first |
構文解析時に部分セレクタが消費した入力の先頭 | |
const_iterator | m_last |
構文解析時に部分セレクタが消費した入力の終端 | |
<id-selector>
wordring::wwwc::css::id_selector::id_selector | ( | const_iterator | first, |
const_iterator | last, | ||
std::u32string const & | value | ||
) |
[in] | first | このセレクタが消費した範囲の先頭 |
[in] | last | このセレクタが消費した範囲の終端 |
[in] | value | 属性値 |
|
inline |
ノードにマッチするか検査する
[in] | np | HTML ノードを指すイテレータあるいはポインタ |