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

The sequence type descriptor. More...

#include <Sequence.h>

Inheritance diagram for AST::Sequence:
AST::Type

Public Member Functions

Dim bound () const noexcept
 
Dim size () const noexcept
 Obsolete. Use Sequence::bound () instead.
 
bool operator== (const Sequence &rhs) const noexcept
 Check types for equality.
 
- Public Member Functions inherited from AST::Type
Kind tkind () const noexcept
 
BasicType basic_type () const noexcept
 
const NamedItemnamed_type () const noexcept
 
Dim string_bound () const noexcept
 
Dim string_size () const noexcept
 Obsolete. Use Type::string_bound () instead.
 
const Sequencesequence () const noexcept
 
const Arrayarray () const noexcept
 
uint16_t fixed_digits () const noexcept
 
uint16_t fixed_scale () const noexcept
 
const Typedereference_type () const noexcept
 
 ~Type ()
 Destructor.
 
 Type ()
 Default constructor.
 
 Type (const Type &src)
 Copy constructor.
 
 Type (Type &&src) noexcept
 Move constructor.
 
Typeoperator= (const Type &src)
 Copy assignment.
 
Typeoperator= (Type &&src) noexcept
 Move assignment.
 
bool operator== (const Type &rhs) const noexcept
 Check types for equality.
 

Additional Inherited Members

- Public Types inherited from AST::Type
enum class  Kind {
  VOID , BASIC_TYPE , NAMED_TYPE , STRING ,
  WSTRING , FIXED , SEQUENCE , ARRAY
}
 The kind of type. More...
 

Detailed Description

The sequence type descriptor.

Definition at line 36 of file Sequence.h.

Member Function Documentation

◆ bound()

Dim AST::Sequence::bound ( ) const
inlinenoexcept
Returns
The size bound or 0 if no limit.

Definition at line 41 of file Sequence.h.


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