asCSSObject: Convert reference to C-level CSS object to a regular R object

Description Usage Arguments Value Author(s) References See Also Examples

Description

This generic function and its methods perform the conversion of internal C-level objects to corresponding R objects with the information available directly.

Usage

1

Arguments

x

an object which is a sub-class of CSSStatement-class.

...

additional parameters for methods, but not typically used.

Value

An object of general base class CSSElement.

Author(s)

Duncan Temple Lang

References

libcroco at http://www.freespiders.org/projects/libcroco Cascading Style Sheets http://www.w3.org/Style/CSS/

See Also

readCSS

Examples

1
2
 css = readCSS(system.file("samples", "test.css", package = "RCSS"))
 sapply(css, asCSSObject)

omegahat/RCSS documentation built on May 24, 2019, 1:52 p.m.