Simple name-value property node.
More...
#include <PropertyAst.hpp>
|
static std::string | normalise (std::string_view input) |
| Removing escaping, line continuation, and leading blanks. More...
|
|
Simple name-value property node.
◆ ValueProperty() [1/2]
Create a name-value property node with the supplied data.
◆ ValueProperty() [2/2]
Construct a name-value property node by moving the contents of the supplied node.
◆ getName()
std::string_view getName |
( |
| ) |
const |
|
inline |
Get the string view pointing to the name of the value property.
- Returns
- the string view pointing to the name of the value property
◆ getValue()
std::string_view getValue |
( |
| ) |
const |
|
inline |
Get the string view pointing to the value of the value property.
- Returns
- the string view pointing to the value of the value property
◆ operator==()
Returns true if the current node is equal to the supplied node.
Overridden in concrete classes.
- Returns
- true if the current node is equal to the supplied node.
Reimplemented from PropertyNode.
◆ visit()
Visit the node.
the visitor specific payload (cast in the concrete visitor class)
- Parameters
-
Implements PropertyNode.
The documentation for this class was generated from the following file: