Class Nokogiri::CSS::Node
In: lib/nokogiri/css/node.rb
Parent: Object

Methods

accept   find_by_type   new   preprocess!   to_a   to_type   to_xpath  

Constants

ALLOW_COMBINATOR_ON_SELF = [:DIRECT_ADJACENT_SELECTOR, :FOLLOWING_SELECTOR, :CHILD_SELECTOR]

Attributes

type  [RW]  Get the type of this node
value  [RW]  Get the value of this node

Public Class methods

Create a new Node with type and value

Public Instance methods

Accept visitor

Find a node by type using types

Preprocess this node tree

Convert to array

Convert this CSS node to xpath with prefix using visitor

[Validate]