![]() |
linc 0.7
Linc is a general-purpose programming language inspired by C
|
Public Member Functions | |
| BoundVariableDeclaration (Types::type type, const std::string &name, std::optional< std::unique_ptr< const BoundExpression > > default_value) | |
| const Types::type & | getActualType () const |
| const std::string & | getName () const |
| const std::optional< const BoundExpression *const > | getDefaultValue () const |
| virtual std::unique_ptr< const BoundDeclaration > | clone () const final override |
| virtual std::vector< const BoundNode * > | getChildren () const final override |
Public Member Functions inherited from linc::BoundDeclaration | |
Public Member Functions inherited from linc::BoundNode | |
| BoundNode (const Token::Info &info=Token::Info{.file={},.line={}}) | |
| const Token::Info & | getInfo () const |
| virtual std::string | toString () const |
Additional Inherited Members | |
Protected Member Functions inherited from linc::BoundNode |
|
finaloverridevirtual |
Implements linc::BoundDeclaration.
|
inlinefinaloverridevirtual |
Reimplemented from linc::BoundNode.