diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-22 00:19:57 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-29 04:46:16 +0800 |
commit | 97c31b3e7d6a0bc4b024b15bc13d19b851b68ead (patch) | |
tree | bb87bbd36711ff31dbda53613f15d5cfdad9de5e /Parser.h | |
parent | 282d4b8add13fd81a0320fa0d3db331e09b3d487 (diff) | |
download | dexon-solidity-97c31b3e7d6a0bc4b024b15bc13d19b851b68ead.tar.gz dexon-solidity-97c31b3e7d6a0bc4b024b15bc13d19b851b68ead.tar.zst dexon-solidity-97c31b3e7d6a0bc4b024b15bc13d19b851b68ead.zip |
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
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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<VariableDeclaration> const& _varDecl, + std::vector<ASTPointer<FunctionDefinition>> & _functions); + /// Peeks ahead in the scanner to determine if a variable definition is going to follow bool peekVariableDefinition(); |