aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2014-11-24 07:00:46 +0800
committerchriseth <c@ethdev.com>2014-11-24 07:00:46 +0800
commit5d75263ff15aadfcacd35334cbab396cce65d260 (patch)
treefe1d0d1e502e79a204f00cccb9a3210c87bdde09 /AST.h
parent583a315d3d282ab9fd871bb2ea3beded367be6d0 (diff)
downloaddexon-solidity-5d75263ff15aadfcacd35334cbab396cce65d260.tar.gz
dexon-solidity-5d75263ff15aadfcacd35334cbab396cce65d260.tar.zst
dexon-solidity-5d75263ff15aadfcacd35334cbab396cce65d260.zip
Whitespace change.
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/AST.h b/AST.h
index f8ff5274..89f268b3 100644
--- a/AST.h
+++ b/AST.h
@@ -122,6 +122,7 @@ public:
/// Returns the functions that make up the calling interface in the intended order.
std::vector<FunctionDefinition const*> getInterfaceFunctions() const;
+
private:
std::vector<ASTPointer<StructDefinition>> m_definedStructs;
std::vector<ASTPointer<VariableDeclaration>> m_stateVariables;
@@ -195,6 +196,7 @@ public:
/// Checks that all parameters have allowed types and calls checkTypeRequirements on the body.
void checkTypeRequirements();
+
private:
bool m_isPublic;
ASTPointer<ParameterList> m_parameters;
@@ -238,8 +240,7 @@ class MagicVariableDeclaration: public Declaration
{
public:
enum class VariableKind { THIS, MSG, TX, BLOCK };
- MagicVariableDeclaration(VariableKind _kind, ASTString const& _name,
- std::shared_ptr<Type const> const& _type):
+ MagicVariableDeclaration(VariableKind _kind, ASTString const& _name, std::shared_ptr<Type const> const& _type):
Declaration(Location(), std::make_shared<ASTString>(_name)), m_kind(_kind), m_type(_type) {}
virtual void accept(ASTVisitor&) override { BOOST_THROW_EXCEPTION(InternalCompilerError()
<< errinfo_comment("MagicVariableDeclaration used inside real AST.")); }