aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-15 23:15:01 +0800
committerChristian <c@ethdev.com>2015-01-20 06:35:04 +0800
commit4631e54e08184df7b6788f37b0ad2f808d1d73cc (patch)
tree47ed955a8877e3a0d7a674ae1f10fc4bdf159619 /AST.h
parent6612e4bd172f4c3a16a5dc618f88b69104106339 (diff)
downloaddexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar.gz
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar.bz2
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar.lz
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar.xz
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.tar.zst
dexon-solidity-4631e54e08184df7b6788f37b0ad2f808d1d73cc.zip
Inheritance parser.
Diffstat (limited to 'AST.h')
-rwxr-xr-xAST.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/AST.h b/AST.h
index 409aed44..e4761536 100755
--- a/AST.h
+++ b/AST.h
@@ -158,10 +158,12 @@ public:
ContractDefinition(Location const& _location,
ASTPointer<ASTString> const& _name,
ASTPointer<ASTString> const& _documentation,
+ std::vector<ASTPointer<Identifier>> const& _baseContracts,
std::vector<ASTPointer<StructDefinition>> const& _definedStructs,
std::vector<ASTPointer<VariableDeclaration>> const& _stateVariables,
std::vector<ASTPointer<FunctionDefinition>> const& _definedFunctions):
Declaration(_location, _name),
+ m_baseContracts(_baseContracts),
m_definedStructs(_definedStructs),
m_stateVariables(_stateVariables),
m_definedFunctions(_definedFunctions),
@@ -193,6 +195,7 @@ public:
private:
std::vector<std::pair<FixedHash<4>, FunctionDefinition const*>> getInterfaceFunctionList() const;
+ std::vector<ASTPointer<Identifier>> m_baseContracts;
std::vector<ASTPointer<StructDefinition>> m_definedStructs;
std::vector<ASTPointer<VariableDeclaration>> m_stateVariables;
std::vector<ASTPointer<FunctionDefinition>> m_definedFunctions;