aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-02-28 00:41:22 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-02 21:28:08 +0800
commite9238e15b4058bf9b84c3c9c59720f255843de75 (patch)
treea3dab94130e93a6223f86f31f623b6089b5e07d8 /AST.h
parent32e210eccad6ea951feaa3441a6aefb9938f8a90 (diff)
downloaddexon-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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/AST.h b/AST.h
index d028e8a7..967c6792 100644
--- a/AST.h
+++ b/AST.h
@@ -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;
};
/**