|
nixd
|
#include <Attrs.h>
Public Types | |
| enum | AttrNameKind { ANK_ID , ANK_String , ANK_Interpolation } |
| Public Types inherited from nixf::Node | |
| enum | NodeKind { NK_BeginExpr , NK_EndExpr } |
| using | ChildVector = boost::container::small_vector<Node *, 8> |
Public Member Functions | |
| AttrNameKind | kind () const |
| AttrName (std::shared_ptr< Identifier > ID, LexerCursorRange Range) | |
| AttrName (std::shared_ptr< ExprString > String) | |
| AttrName (std::shared_ptr< Interpolation > Interp) | |
| bool | isStatic () const |
| const std::string & | staticName () const |
| const Interpolation & | interpolation () const |
| const std::shared_ptr< Identifier > & | id () const |
| const ExprString & | string () const |
| 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 | |
| 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) | |
|
inline |
Definition at line 23 of file Attrs.h.
References ANK_ID, and nixf::Node::Node().
|
inline |
Definition at line 28 of file Attrs.h.
References ANK_String, nixf::Node::Node(), and nixf::Node::range().
|
inline |
Definition at line 34 of file Attrs.h.
References ANK_Interpolation, nixf::Node::Node(), and nixf::Node::range().
|
inlinenodiscardoverridevirtual |
Implements nixf::Node.
Definition at line 75 of file Attrs.h.
References ANK_ID, ANK_Interpolation, and ANK_String.
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 58 of file Attrs.h.
References ANK_Interpolation.
|
inlinenodiscard |
Definition at line 40 of file Attrs.h.
References ANK_ID, ANK_Interpolation, ANK_String, nixf::ExprString::isLiteral(), and string().
Referenced by staticName().
|
inlinenodiscard |
|
inlinenodiscard |
Definition at line 50 of file Attrs.h.
References ANK_ID, ANK_String, id(), isStatic(), nixf::ExprString::literal(), and string().
|
inlinenodiscard |
Definition at line 69 of file Attrs.h.
References ANK_String.
Referenced by isStatic(), and staticName().