A CSS function, such as rgb(255, 0, 0), parsed into a function name and a list of parameter values.
More...
#include "donner/css/ComponentValue.h"
|
| std::ostream & | operator<< (std::ostream &os, const Function &func) |
| | Output a human-readable representation of the function to a stream.
|
A CSS function, such as rgb(255, 0, 0), parsed into a function name and a list of parameter values.
Compared to Token::Function, this has the next level of parsing, where the function's parameters have been extracted as a list of ComponentValue. Token::Function would only include "rgb(" part of the function.
◆ Function()
Construct a new Function object with a name and an empty parameter list.
To supply parameters, modify the values vector after construction.
- Parameters
-
| name | Function name. |
| sourceOffset | Offset of the function name in the source string. |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const Function & | func ) |
|
friend |
Output a human-readable representation of the function to a stream.
- Parameters
-
| os | Output stream. |
| func | Function to output. |
The documentation for this struct was generated from the following files: