nixd
|
Misc node, used for parentheses, keywords, etc. More...
#include <Basic.h>
Public Member Functions | |
Misc (LexerCursorRange Range) | |
ChildVector | children () const override |
Public Member Functions inherited from nixf::Node | |
NodeKind | kind () const |
LexerCursorRange | range () const |
PositionRange | positionRange () const |
LexerCursor | lCur () const |
LexerCursor | rCur () const |
const char * | name () const |
virtual | ~Node ()=default |
const Node * | descend (PositionRange Range) const |
Descendant node that contains the given range. | |
std::string_view | src (std::string_view Src) const |
Additional Inherited Members | |
Public Types inherited from nixf::Node | |
enum | NodeKind { NK_BeginExpr , NK_EndExpr } |
using | ChildVector = boost::container::small_vector<Node *, 8> |
Static Public Member Functions inherited from nixf::Node | |
static const char * | name (NodeKind Kind) |
Protected Member Functions inherited from nixf::Node | |
Node (NodeKind Kind, LexerCursorRange Range) | |
Misc node, used for parentheses, keywords, etc.
This is used for representing nodes that only location matters. Might be useful for linting.
|
inline |
|
inlinenodiscardoverridevirtual |
Implements nixf::Node.