Андрій Костенко > CSS-Croco-0.09 > CSS::Croco::StyleSheet

Download:
CSS-Croco-0.09.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

CSS::Croco::StyleSheet - stylesheet object

SYNOPSYS ^

    my $croco = CSS::Croco->new;
    my $stylesheet = $croco->parse( ' * { property: value }' );
    my $statements = $stylesheet->rules

METHODS ^

rules

Shows all CSS statements. Returns list of CSS::Croco::Statement subclasses.

to_string

Returns string representation of stylesheet.

syntax highlighting: