diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 05:38:07 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-06 05:38:07 +0800 |
commit | 305f54b23f9643538a7e3a06d855271be0949035 (patch) | |
tree | 7d3820204b0df301e9c45e5a52d3575267530faa /AST.h | |
parent | eaadc71b4c88603a7264211401d249ca1ead22e3 (diff) | |
download | dexon-solidity-305f54b23f9643538a7e3a06d855271be0949035.tar.gz dexon-solidity-305f54b23f9643538a7e3a06d855271be0949035.tar.zst dexon-solidity-305f54b23f9643538a7e3a06d855271be0949035.zip |
Minor Style fixes
Diffstat (limited to 'AST.h')
-rwxr-xr-x | AST.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1117,12 +1117,14 @@ private: class Literal: public PrimaryExpression { public: - enum class ethSubDenomination { + enum class SubDenomination + { NONE = Token::ILLEGAL, - WEI = Token::ETH_SUB_WEI, - SZABO = Token::ETH_SUB_SZABO, - FINNEY = Token::ETH_SUB_FINNEY, - ETHER = Token::ETH_SUB_ETHER}; + WEI = Token::SubWei, + SZABO = Token::SubSzabo, + FINNEY = Token::SubFinney, + ETHER = Token::SubEther + }; Literal(Location const& _location, Token::Value _token, ASTPointer<ASTString> const& _value, Token::Value _sub = Token::ILLEGAL); @@ -1134,12 +1136,12 @@ public: /// @returns the non-parsed value of the literal ASTString const& getValue() const { return *m_value; } - ethSubDenomination getSubDenomination() const { return m_subDenomination; } + SubDenomination getSubDenomination() const { return m_subDenomination; } private: Token::Value m_token; ASTPointer<ASTString> m_value; - ethSubDenomination m_subDenomination; + SubDenomination m_subDenomination; }; /// @} |