Represents a blank line in a property file. More...
#include <PropertyAst.hpp>
Public Member Functions | |
EmptyLinePropertyNode (const CodeSpan &codeSpan_) | |
Create a blank line property node with the supplied data. More... | |
EmptyLinePropertyNode (EmptyLinePropertyNode &&rhs) noexcept | |
Construct a blank line property node by moving the contents of the supplied node. More... | |
bool | operator== (const PropertyNode &rhs) const override |
Returns true if the current node is equal to the supplied node. More... | |
void | visit (Payload &payload, PropertyVisitor &visitor) const override |
Visit the node. More... | |
Public Member Functions inherited from PropertyNode | |
virtual | ~PropertyNode ()=default |
Destroy a Property AST node. More... | |
const CodeSpan & | getCodeSpan () const |
Get the code span of the node. More... | |
bool | operator!= (const PropertyNode &rhs) const |
Returns true if the current node is not equal to the supplied node. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from PropertyNode | |
static std::string | normalise (std::string_view input) |
Removing escaping, line continuation, and leading blanks. More... | |
Represents a blank line in a property file.
|
inlineexplicit |
Create a blank line property node with the supplied data.
|
inlinenoexcept |
Construct a blank line property node by moving the contents of the supplied node.
|
inlineoverridevirtual |
Returns true if the current node is equal to the supplied node.
Overridden in concrete classes.
Reimplemented from PropertyNode.
|
inlineoverridevirtual |
Visit the node.
the visitor specific payload (cast in the concrete visitor class)
visitor | the visitor |
Implements PropertyNode.