class Lexbor::CssFilter

Defined in:

lexbor/css_filter.cr

Constant Summary

Cbk = ->(node : Lib::DomElementT, spec : ::Pointer(Void), ctx : ::Pointer(Void)) do col = ctx.as(Lexbor::Iterator::Collection) col << node Lib::StatusT::LXB_STATUS_OK end

Constructors

Instance Method Summary

Constructor Detail

def self.new(rule : String) #

Css filter Lexbor::CssFilter.new("div.red").search_from(lexbor.body!) # => Lexbor::Iterator::Collection


[View source]

Instance Method Detail

def finalize #

[View source]
def free #

[View source]
def inspect(io) #

[View source]
def search_from(scope_node : Lexbor::Node) #

[View source]