nixd
|
#include <Lambda.h>
Public Member Functions | |
Formal (LexerCursorRange Range, std::shared_ptr< Misc > Comma, std::shared_ptr< Identifier > ID, std::shared_ptr< Expr > Default) | |
Formal (LexerCursorRange Range, std::shared_ptr< Misc > Comma, std::shared_ptr< Misc > Ellipsis) | |
Misc & | ellipsis () const |
bool | isEllipsis () const |
Identifier * | id () const |
Misc * | comma () const |
Expr * | defaultExpr () 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 | |
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) | |
|
inline |
|
inline |
|
inlinenodiscardoverridevirtual |
|
inlinenodiscard |
Definition at line 39 of file Lambda.h.
Referenced by nixf::Sema::checkFormalEllipsis(), nixf::Sema::checkFormalEmpty(), nixf::Sema::checkFormalSep(), and nixf::Sema::removeFormal().
|
inlinenodiscard |
Definition at line 37 of file Lambda.h.
Referenced by nixf::Sema::checkFormalEmpty(), and nixf::Sema::dedupFormal().
|
inlinenodiscard |
Definition at line 35 of file Lambda.h.
Referenced by nixf::Sema::checkFormalEllipsis(), nixf::Sema::checkFormalEmpty(), and children().