mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Private Attributes | Friends
m::ast::FromClause::from_type Struct Reference

#include <AST.hpp>

Collaboration diagram for m::ast::FromClause::from_type:
[legend]

Public Member Functions

 from_type (Token name, Token alias)
 
 from_type (std::unique_ptr< Stmt > S, Token alias)
 
const Tabletable () const
 
bool has_table () const
 

Data Fields

std::variant< Token, Stmt * > source
 
Token alias
 

Private Attributes

const Tabletable_ = nullptr
 the referenced table
 

Friends

struct Sema
 

Detailed Description

Definition at line 544 of file AST.hpp.

Constructor & Destructor Documentation

◆ from_type() [1/2]

m::ast::FromClause::from_type::from_type ( Token  name,
Token  alias 
)
inline

Definition at line 556 of file AST.hpp.

◆ from_type() [2/2]

m::ast::FromClause::from_type::from_type ( std::unique_ptr< Stmt S,
Token  alias 
)
inline

Definition at line 557 of file AST.hpp.

Member Function Documentation

◆ has_table()

bool m::ast::FromClause::from_type::has_table ( ) const
inline

Definition at line 560 of file AST.hpp.

◆ table()

const Table & m::ast::FromClause::from_type::table ( ) const
inline

Definition at line 559 of file AST.hpp.

References M_notnull.

Friends And Related Function Documentation

◆ Sema

friend struct Sema
friend

Definition at line 546 of file AST.hpp.

Field Documentation

◆ alias

Token m::ast::FromClause::from_type::alias

Definition at line 550 of file AST.hpp.

◆ source

std::variant<Token, Stmt*> m::ast::FromClause::from_type::source

Definition at line 549 of file AST.hpp.

◆ table_

const Table* m::ast::FromClause::from_type::table_ = nullptr
private

the referenced table

Definition at line 553 of file AST.hpp.


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