Functions

Expressions.h File Reference

#include <wx/regex.h>
Include dependency graph for Expressions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

wxRegEx reClass (wxT("^[[:space:]]*""class[[:space:]]+""([^[:space:]\\:]+)"))
 The regex for a class declaration.
wxRegEx reStruct (wxT("^[[:space:]]*""(?:typedef""[[:space:]]+)?""struct[[:space:]]+""([^[:space:]\\:\\{\\;]+)"))
 The regex for a struct declaration.
wxRegEx reTypedef (wxT("^[[:space:]]*""typedef[[:space:]]+""(.+)[[:space:]]+""([^\\{[:space:];]+)"))
 The regex for a typedef declaration.
wxRegEx reEnum (wxT("^[[:space:]]*""enum[[:space:]]+""([^[:space:]\\:]+)"))
 The regex for an enum declaration.
wxRegEx reFunction (wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\(""([^)]*)?""\\)"), wxRE_ADVANCED)
 The regex for a function declaration.
wxRegEx reClassFunction (wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\::""([^[:space:]]+)\\(""([^)]*)?""\\)"), wxRE_ADVANCED)
 The regex for a class function declaration.
wxRegEx reClassFunctionNoRet (wxT("^[[:space:]]*""([^[:space:]]+)\\::""([^[:space:]]+)\\(""([^)]*)?""\\)"))
 The regex for a class function declaration without a return value, such as a constructor.

Detailed Description

Author:
Gary Harris
Date:
02-03-2010

DoxyBlocks - doxygen integration for Code::Blocks.
Copyright (C) 2010 Gary Harris.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

-----------------------------------------------------------------------------------------------
This file was pilfered from doxbar and modified to suit DoxyBlocks.
The original file credits follow.

author Olivier Sannier
date 13-08-2003

This file contains all the regular expressions used in the program.
They have been grouped here to allow easy correction


Function Documentation

wxRegEx reClassFunction ( wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\::""([^[:space:]]+)\\(""([^)]*)?""\\)"   ) 

The regex for a class function declaration.

Matches: return_type class::function(type param, type param, ...)

Note:
This declaration generates a false warning in doxygen regarding undocumented return type.
wxRegEx reClassFunctionNoRet ( wxT("^[[:space:]]*""([^[:space:]]+)\\::""([^[:space:]]+)\\(""([^)]*)?""\\)"   ) 

The regex for a class function declaration without a return value, such as a constructor.

Matches: class::function(type param, type param, ...)

Note:
This declaration generates a false warning in doxygen regarding undocumented return type.
wxRegEx reFunction ( wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\(""([^)]*)?""\\)"   ) 

The regex for a function declaration.

Matches: return_type function(type param, type param, ...)

Note:
This declaration generates a false warning in doxygen regarding undocumented return type.