diff options
author | Christian <c@ethdev.com> | 2015-01-15 23:15:01 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-20 06:35:04 +0800 |
commit | 4631e54e08184df7b6788f37b0ad2f808d1d73cc (patch) | |
tree | 47ed955a8877e3a0d7a674ae1f10fc4bdf159619 /AST.h | |
parent | 6612e4bd172f4c3a16a5dc618f88b69104106339 (diff) | |
download | dexon-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-x | AST.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |