diff options
author | Christian <c@ethdev.com> | 2014-10-23 02:35:35 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-25 01:38:48 +0800 |
commit | 9141725cf238c028dd00f4a7f814878031ef48a0 (patch) | |
tree | 4f8c399497f3871b6272a6d42abbc786b019542f /Parser.h | |
parent | b2f12991dbb30193386e6d3ff16e2fc46fa2289a (diff) | |
download | dexon-solidity-9141725cf238c028dd00f4a7f814878031ef48a0.tar.gz dexon-solidity-9141725cf238c028dd00f4a7f814878031ef48a0.tar.zst dexon-solidity-9141725cf238c028dd00f4a7f814878031ef48a0.zip |
Documentation for AST, Parser, Scanner and other classes.
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -44,8 +44,8 @@ private: /// End position of the current token int getEndPosition() const; - /// Parsing functions for the AST nodes - /// @{ + ///@{ + ///@name Parsing functions for the AST nodes ASTPointer<ContractDefinition> parseContractDefinition(); ASTPointer<FunctionDefinition> parseFunctionDefinition(bool _isPublic); ASTPointer<StructDefinition> parseStructDefinition(); @@ -64,16 +64,17 @@ private: ASTPointer<Expression> parseLeftHandSideExpression(); ASTPointer<Expression> parsePrimaryExpression(); std::vector<ASTPointer<Expression>> parseFunctionCallArguments(); - /// @} + ///@} + + ///@{ + ///@name Helper functions - /// Helper functions - /// @{ /// If current token value is not _value, throw exception otherwise advance token. void expectToken(Token::Value _value); Token::Value expectAssignmentOperator(); ASTPointer<ASTString> expectIdentifierToken(); ASTPointer<ASTString> getLiteralAndAdvance(); - /// @} + ///@} /// Creates a @ref ParserError exception and annotates it with the current position and the /// given @a _description. |