aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-14 00:34:46 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commitb20ce4451bb4c2b64b112b8654b36502ae654a24 (patch)
treed9ecfcbf2a386e546f25594f377ceb669bd22997 /AST.h
parentfb4ff4af286f66dab3fde5bf33815c407f56b2db (diff)
downloaddexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.gz
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.tar.zst
dexon-solidity-b20ce4451bb4c2b64b112b8654b36502ae654a24.zip
Typo in EnumValue
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/AST.h b/AST.h
index 11dfef59..3485631b 100644
--- a/AST.h
+++ b/AST.h
@@ -168,12 +168,12 @@ private:
/**
* Declaration of an Enum Value
*/
-class EnumvValue : public Declaration
+class EnumValue: public Declaration
{
public:
- EnumvValue(Location const& _location,
- ASTPointer<ASTString> const& _name):
- Declaration(_location, _name) {}
+ EnumValue(Location const& _location,
+ ASTPointer<ASTString> const& _name):
+ Declaration(_location, _name) {}
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
@@ -339,12 +339,12 @@ class EnumDefinition: public Declaration
public:
EnumDefinition(Location const& _location,
ASTPointer<ASTString> const& _name,
- std::vector<ASTPointer<EnumvValue>> const& _members):
+ std::vector<ASTPointer<EnumValue>> const& _members):
Declaration(_location, _name), m_members(_members) {}
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
- std::vector<ASTPointer<EnumvValue>> const& getMembers() const { return m_members; }
+ std::vector<ASTPointer<EnumValue>> const& getMembers() const { return m_members; }
virtual TypePointer getType(ContractDefinition const*) const override;
@@ -356,7 +356,7 @@ public:
private:
- std::vector<ASTPointer<EnumvValue>> m_members;
+ std::vector<ASTPointer<EnumValue>> m_members;
};
/**