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

#include <Expr.h>

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

Public Member Functions

 ExprLet (LexerCursorRange Range, std::shared_ptr< Misc > KwLet, std::shared_ptr< Misc > KwIn, std::shared_ptr< Expr > E, std::shared_ptr< ExprAttrs > Attrs)
const Binds * binds () const
const ExprAttrs * attrs () const
const Expr * expr () const
const Misc & let () const
const Misc * in () const
ChildVector children () const override
Public Member Functions inherited from nixf::Expr
bool maybeLambda () const
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::Expr
static bool classof (const Node *N)
static bool isExpr (NodeKind Kind)
static bool maybeLambda (NodeKind Kind)
Static Public Member Functions inherited from nixf::Node
static const char * name (NodeKind Kind)
Protected Member Functions inherited from nixf::Expr
 Expr (NodeKind Kind, LexerCursorRange Range)
Protected Member Functions inherited from nixf::Node
 Node (NodeKind Kind, LexerCursorRange Range)

Detailed Description

Definition at line 134 of file Expr.h.

Constructor & Destructor Documentation

◆ ExprLet()

nixf::ExprLet::ExprLet ( LexerCursorRange Range,
std::shared_ptr< Misc > KwLet,
std::shared_ptr< Misc > KwIn,
std::shared_ptr< Expr > E,
std::shared_ptr< ExprAttrs > Attrs )
inline

Definition at line 144 of file Expr.h.

References nixf::Expr::Expr().

Member Function Documentation

◆ attrs()

const ExprAttrs * nixf::ExprLet::attrs ( ) const
inlinenodiscard

Definition at line 155 of file Expr.h.

◆ binds()

const Binds * nixf::ExprLet::binds ( ) const
inlinenodiscard

Definition at line 152 of file Expr.h.

◆ children()

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

Implements nixf::Node.

Definition at line 160 of file Expr.h.

◆ expr()

const Expr * nixf::ExprLet::expr ( ) const
inlinenodiscard

Definition at line 156 of file Expr.h.

References nixf::Expr::Expr().

◆ in()

const Misc * nixf::ExprLet::in ( ) const
inlinenodiscard

Definition at line 158 of file Expr.h.

◆ let()

const Misc & nixf::ExprLet::let ( ) const
inlinenodiscard

Definition at line 157 of file Expr.h.


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