nixd
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
nixf::ExprAttrs Class Reference

#include <Attrs.h>

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

Public Member Functions

 ExprAttrs (LexerCursorRange Range, std::shared_ptr< Binds > Body, std::shared_ptr< Misc > Rec, SemaAttrs SA)
 
const Bindsbinds () const
 
const Miscrec () const
 
bool isRecursive () const
 
const SemaAttrssema () 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 Nodedescend (PositionRange Range) const
 Descendant node that contains the given range.
 
std::string_view src (std::string_view Src) const
 

Friends

class Sema
 

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 267 of file Attrs.h.

Constructor & Destructor Documentation

◆ ExprAttrs()

nixf::ExprAttrs::ExprAttrs ( LexerCursorRange Range,
std::shared_ptr< Binds > Body,
std::shared_ptr< Misc > Rec,
SemaAttrs SA )
inline

Definition at line 274 of file Attrs.h.

Member Function Documentation

◆ binds()

const Binds * nixf::ExprAttrs::binds ( ) const
inline

Definition at line 279 of file Attrs.h.

◆ children()

ChildVector nixf::ExprAttrs::children ( ) const
inlineoverridevirtual

Implements nixf::Node.

Definition at line 286 of file Attrs.h.

◆ isRecursive()

bool nixf::ExprAttrs::isRecursive ( ) const
inline

Definition at line 282 of file Attrs.h.

Referenced by nixf::Sema::checkAttrRecursiveForMerge().

◆ rec()

const Misc * nixf::ExprAttrs::rec ( ) const
inline

Definition at line 280 of file Attrs.h.

Referenced by nixf::Sema::checkAttrRecursiveForMerge().

◆ sema()

const SemaAttrs & nixf::ExprAttrs::sema ( ) const
inline

Definition at line 284 of file Attrs.h.

Friends And Related Symbol Documentation

◆ Sema

friend class Sema
friend

Definition at line 271 of file Attrs.h.


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