#include <wx/regex.h>

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. | |
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
| wxRegEx reClassFunction | ( | wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\::""([^[:space:]]+)\\(""([^)]*)?""\\)" | ) |
The regex for a class function declaration.
Matches: return_type class::function(type param, type param, ...)
| 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, ...)
| wxRegEx reFunction | ( | wxT("^[[:space:]]*""((.+)[[:space:]])""([[:space:]]*)""([^[:space:]]+)\\(""([^)]*)?""\\)" | ) |
The regex for a function declaration.
Matches: return_type function(type param, type param, ...)
1.7.1