diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-02-28 00:41:22 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-02 21:28:08 +0800 |
commit | e9238e15b4058bf9b84c3c9c59720f255843de75 (patch) | |
tree | a3dab94130e93a6223f86f31f623b6089b5e07d8 /AST.h | |
parent | 32e210eccad6ea951feaa3441a6aefb9938f8a90 (diff) | |
download | dexon-solidity-e9238e15b4058bf9b84c3c9c59720f255843de75.tar.gz dexon-solidity-e9238e15b4058bf9b84c3c9c59720f255843de75.tar.zst dexon-solidity-e9238e15b4058bf9b84c3c9c59720f255843de75.zip |
Implemented passing arguments to the base constructor.
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -510,7 +510,7 @@ private: }; /** - * Invocation/usage of a modifier in a function header. + * Invocation/usage of a modifier in a function header or a base constructor call. */ class ModifierInvocation: public ASTNode { @@ -525,11 +525,12 @@ public: ASTPointer<Identifier> const& getName() const { return m_modifierName; } std::vector<ASTPointer<Expression>> const& getArguments() const { return m_arguments; } - void checkTypeRequirements(); + void checkTypeRequirements(std::vector<ASTPointer<InheritanceSpecifier>> const& _bases); private: ASTPointer<Identifier> m_modifierName; std::vector<ASTPointer<Expression>> m_arguments; + FunctionDefinition const* m_referencedConstructor = nullptr; }; /** |