aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorarkpar <arkadiy@ethdev.com>2015-01-31 21:41:11 +0800
committerarkpar <arkadiy@ethdev.com>2015-01-31 21:41:11 +0800
commitd6d7c9219b66c252c64528db615faafb4ddc650c (patch)
treefcadfa5314d6eb2376d9f36cbb1a37160ff3d79e /AST.h
parent6c8b5cabdc9e3f48d95e945d093a480c2ab5032e (diff)
downloaddexon-solidity-d6d7c9219b66c252c64528db615faafb4ddc650c.tar.gz
dexon-solidity-d6d7c9219b66c252c64528db615faafb4ddc650c.tar.zst
dexon-solidity-d6d7c9219b66c252c64528db615faafb4ddc650c.zip
json and solidity ABI generted for events
Diffstat (limited to 'AST.h')
-rwxr-xr-xAST.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AST.h b/AST.h
index 113daf72..fefd0e94 100755
--- a/AST.h
+++ b/AST.h
@@ -222,6 +222,7 @@ public:
std::vector<ASTPointer<ModifierDefinition>> const& getFunctionModifiers() const { return m_functionModifiers; }
std::vector<ASTPointer<FunctionDefinition>> const& getDefinedFunctions() const { return m_definedFunctions; }
std::vector<ASTPointer<EventDefinition>> const& getEvents() const { return m_events; }
+ std::vector<ASTPointer<EventDefinition>> const& getInterfaceEvents() const;
virtual TypePointer getType(ContractDefinition const* m_currentContract) const override;
@@ -257,6 +258,7 @@ private:
std::vector<ContractDefinition const*> m_linearizedBaseContracts;
mutable std::unique_ptr<std::vector<std::pair<FixedHash<4>, FunctionTypePointer>>> m_interfaceFunctionList;
+ mutable std::unique_ptr<std::vector<ASTPointer<EventDefinition>>> m_interfaceEvents;
};
class InheritanceSpecifier: public ASTNode