IDL compiler front-end library
Public Member Functions | List of all members
AST::SimpleDeclarator Class Reference

The IDL simple declarator. More...

#include <Declarators.h>

Inheritance diagram for AST::SimpleDeclarator:
AST::Identifier AST::Location AST::Declarator

Public Member Functions

 SimpleDeclarator (const Identifier &name, const Location &loc)
 
 SimpleDeclarator (Identifier &&name, const Location &loc)
 
- Public Member Functions inherited from AST::Identifier
bool operator< (const Identifier &r) const noexcept
 CORBA IDL identifiers are case-insensitive.
 
 Identifier ()
 Default constructor.
 
 Identifier (const char *s, size_t len)
 
 Identifier (const char *s)
 
 Identifier (std::string &&s) noexcept
 
bool valid () const noexcept
 
bool operator== (const char *s) const noexcept
 Case-insensitive equivalency.
 
- Public Member Functions inherited from AST::Location
const std::filesystem::path & file () const noexcept
 
unsigned line () const noexcept
 

Detailed Description

The IDL simple declarator.

Definition at line 38 of file Declarators.h.

Constructor & Destructor Documentation

◆ SimpleDeclarator() [1/2]

AST::SimpleDeclarator::SimpleDeclarator ( const Identifier name,
const Location loc 
)
inline

Constructor.

Parameters
nameThe name.
locThe location.

Definition at line 50 of file Declarators.h.

◆ SimpleDeclarator() [2/2]

AST::SimpleDeclarator::SimpleDeclarator ( Identifier &&  name,
const Location loc 
)
inline

Constructor.

Parameters
nameThe name.
locThe location.

Definition at line 59 of file Declarators.h.


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