From 97c31b3e7d6a0bc4b024b15bc13d19b851b68ead Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 21 Jan 2015 17:19:57 +0100 Subject: Parsing accessor functions for public contract state variables - During the contract parsing depending on whether or not a state variable is public an extra acessor FunctionDefinition is parsed for it --- Parser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Parser.h') diff --git a/Parser.h b/Parser.h index 211e952d..d911598b 100644 --- a/Parser.h +++ b/Parser.h @@ -78,6 +78,10 @@ private: ///@{ ///@name Helper functions + /// Depending on whether a state Variable is Public, appends an accessor to the contract's functions + void addStateVariableAccessor(ASTPointer const& _varDecl, + std::vector> & _functions); + /// Peeks ahead in the scanner to determine if a variable definition is going to follow bool peekVariableDefinition(); -- cgit