nixd
Loading...
Searching...
No Matches
nixf::LambdaArg Class Reference

#include <Lambda.h>

Inheritance diagram for nixf::LambdaArg:
[legend]
Collaboration diagram for nixf::LambdaArg:
[legend]

Public Member Functions

 LambdaArg (LexerCursorRange Range, std::shared_ptr< Identifier > ID, std::shared_ptr< Formals > F)
Identifierid () const
Formalsformals () 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 Nodedescend (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)

Detailed Description

Definition at line 90 of file Lambda.h.

Constructor & Destructor Documentation

◆ LambdaArg()

nixf::LambdaArg::LambdaArg ( LexerCursorRange Range,
std::shared_ptr< Identifier > ID,
std::shared_ptr< Formals > F )
inline

Definition at line 95 of file Lambda.h.

References nixf::Node::Node().

Member Function Documentation

◆ children()

ChildVector nixf::LambdaArg::children ( ) const
inlinenodiscardoverridevirtual

Implements nixf::Node.

Definition at line 103 of file Lambda.h.

◆ formals()

Formals * nixf::LambdaArg::formals ( ) const
inlinenodiscard

Definition at line 101 of file Lambda.h.

◆ id()

Identifier * nixf::LambdaArg::id ( ) const
inlinenodiscard

Definition at line 99 of file Lambda.h.


The documentation for this class was generated from the following file: