aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-23 02:35:35 +0800
committerChristian <c@ethdev.com>2014-10-25 01:38:48 +0800
commit9141725cf238c028dd00f4a7f814878031ef48a0 (patch)
tree4f8c399497f3871b6272a6d42abbc786b019542f /Parser.h
parentb2f12991dbb30193386e6d3ff16e2fc46fa2289a (diff)
downloaddexon-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.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Parser.h b/Parser.h
index 14338dc2..eabc2274 100644
--- a/Parser.h
+++ b/Parser.h
@@ -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.