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