diff --git a/libsolidity/Parser.h b/libsolidity/Parser.h index 79eb73f07..043d022b7 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 parseSimpleStatement(); ASTPointer parseVariableDeclarationStatement( - ASTPointer const& _lookAheadArrayType = ASTPointer()); + ASTPointer const& _lookAheadArrayType = ASTPointer() + ); ASTPointer parseExpressionStatement( - ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer()); + ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer() + ); ASTPointer parseExpression( - ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer()); + ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer() + ); ASTPointer parseBinaryExpression(int _minPrecedence = 4, - ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer()); + ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer() + ); ASTPointer parseUnaryExpression( - ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer()); + ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer() + ); ASTPointer parseLeftHandSideExpression( - ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer()); + ASTPointer const& _lookAheadIndexAccessStructure = ASTPointer() + ); ASTPointer parsePrimaryExpression(); std::vector> parseFunctionCallListArguments(); std::pair>, std::vector>> parseFunctionCallArguments(); @@ -122,11 +128,13 @@ private: /// Returns a typename parsed in look-ahead fashion from something like "a[8][2**70]". ASTPointer typeNameIndexAccessStructure( ASTPointer const& _primary, - std::vector, SourceLocation>> const& _indices); + std::vector, SourceLocation>> const& _indices + ); /// Returns an expression parsed in look-ahead fashion from something like "a[8][2**70]". ASTPointer expressionFromIndexAccessStructure( ASTPointer const& _primary, - std::vector, SourceLocation>> const& _indices); + std::vector, SourceLocation>> const& _indices + ); /// If current token value is not _value, throw exception otherwise advance token. void expectToken(Token::Value _value); Token::Value expectAssignmentOperator();