diff options
author | LianaHus <liana@ethdev.com> | 2015-09-25 22:49:15 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-10-02 18:38:48 +0800 |
commit | 6712437e6b65871787c9860168515b38a7751afc (patch) | |
tree | ea8c10c5d2e435e9bed1ece4c19d02f869705ca9 | |
parent | 468d6b6175f57415c41fb2883a5019fbe4564a02 (diff) | |
download | dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar.gz dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar.bz2 dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar.lz dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar.xz dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.tar.zst dexon-solidity-6712437e6b65871787c9860168515b38a7751afc.zip |
style fixes
-rw-r--r-- | libsolidity/Parser.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/libsolidity/Parser.h b/libsolidity/Parser.h index 79eb73f0..043d022b 100644 --- a/libsolidity/Parser.h +++ b/libsolidity/Parser.h @@ -90,17 +90,23 @@ private: /// A "simple statement" can be a variable declaration statement or an expression statement. ASTPointer<Statement> parseSimpleStatement(); ASTPointer<VariableDeclarationStatement> parseVariableDeclarationStatement( - ASTPointer<TypeName> const& _lookAheadArrayType = ASTPointer<TypeName>()); + ASTPointer<TypeName> const& _lookAheadArrayType = ASTPointer<TypeName>() + ); ASTPointer<ExpressionStatement> parseExpressionStatement( - ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>()); + ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>() + ); ASTPointer<Expression> parseExpression( - ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>()); + ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>() + ); ASTPointer<Expression> parseBinaryExpression(int _minPrecedence = 4, - ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>()); + ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>() + ); ASTPointer<Expression> parseUnaryExpression( - ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>()); + ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>() + ); ASTPointer<Expression> parseLeftHandSideExpression( - ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>()); + ASTPointer<Expression> const& _lookAheadIndexAccessStructure = ASTPointer<Expression>() + ); ASTPointer<Expression> parsePrimaryExpression(); std::vector<ASTPointer<Expression>> parseFunctionCallListArguments(); std::pair<std::vector<ASTPointer<Expression>>, std::vector<ASTPointer<ASTString>>> parseFunctionCallArguments(); @@ -122,11 +128,13 @@ private: /// Returns a typename parsed in look-ahead fashion from something like "a[8][2**70]". ASTPointer<TypeName> typeNameIndexAccessStructure( ASTPointer<PrimaryExpression> const& _primary, - std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices); + std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices + ); /// Returns an expression parsed in look-ahead fashion from something like "a[8][2**70]". ASTPointer<Expression> expressionFromIndexAccessStructure( ASTPointer<PrimaryExpression> const& _primary, - std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices); + std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices + ); /// If current token value is not _value, throw exception otherwise advance token. void expectToken(Token::Value _value); Token::Value expectAssignmentOperator(); |