mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
* Detect C functions: `void ** VoidStarStar ( )` * Detect C++ functions: `void ** VoidStarStar ( )` * Detect C++ functions: `int& RefReturnValue ()` * Detect C++ methods: `void ** Class::VoidStarStar ( )` * Detect C++ methods: `int& Class::RefReturnValue ()`
This commit is contained in:
parent
927d7310a4
commit
b779f5e647
@ -93,7 +93,7 @@ http://notepad-plus-plus.org/features/function-list.html
|
|||||||
|
|
||||||
<parser id="c_function" displayName="C source" commentExpr="((/\*.*?\*)/|(//.*?$))">
|
<parser id="c_function" displayName="C source" commentExpr="((/\*.*?\*)/|(//.*?$))">
|
||||||
<function
|
<function
|
||||||
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?[\w:]+([\s]+[\w]+)?([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+)([\w_]+[\s]*::)?(?!(if|while|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"
|
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?[\w:]+([\s]+[\w]+)?([\s]+|(\*|\*\*)[\s]+|[\s]+(\*|\*\*)|[\s]+(\*|\*\*)[\s]+)([\w_]+[\s]*::)?(?!(if|while|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"
|
||||||
displayMode="$functionName">
|
displayMode="$functionName">
|
||||||
<functionName>
|
<functionName>
|
||||||
<nameExpr expr="(?!(if|while|for))[\w_~]+[\s]*\("/>
|
<nameExpr expr="(?!(if|while|for))[\w_~]+[\s]*\("/>
|
||||||
@ -131,7 +131,7 @@ http://notepad-plus-plus.org/features/function-list.html
|
|||||||
<nameExpr expr="[\w]+"/>
|
<nameExpr expr="[\w]+"/>
|
||||||
</className>
|
</className>
|
||||||
<function
|
<function
|
||||||
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?([\w]+([\s]+[\w]+)?([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+))?([\w_]+[\s]*::)?(?!(if|while|for|switch))[\w_~]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{">
|
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?([\w]+([\s]+[\w]+)?([\s]+|(\*|\*\*|&)[\s]+|[\s]+(\*|\*\*|&)|[\s]+(\*|\*\*|&)[\s]+))?([\w_]+[\s]*::)?(?!(if|while|for|switch))[\w_~]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{">
|
||||||
<functionName>
|
<functionName>
|
||||||
<funcNameExpr expr="(?!(if|while|for|switch))[\w_~]+[\s]*\("/>
|
<funcNameExpr expr="(?!(if|while|for|switch))[\w_~]+[\s]*\("/>
|
||||||
<funcNameExpr expr="(?!(if|while|for|switch))[\w_~]+"/>
|
<funcNameExpr expr="(?!(if|while|for|switch))[\w_~]+"/>
|
||||||
@ -139,7 +139,7 @@ http://notepad-plus-plus.org/features/function-list.html
|
|||||||
</function>
|
</function>
|
||||||
</classRange>
|
</classRange>
|
||||||
<function
|
<function
|
||||||
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?[\w]+([\s]+[\w]+)?([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+)([\w_]+[\s]*::)?(?!(if|while|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"
|
mainExpr="^[\t ]*((static|const|virtual)[\s]+)?[\w]+([\s]+[\w]+)?([\s]+|(\*|\*\*|&)[\s]+|[\s]+(\*|\*\*|&)|[\s]+(\*|\*\*|&)[\s]+)([\w_]+[\s]*::)?(?!(if|while|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"
|
||||||
displayMode="$className->$functionName">
|
displayMode="$className->$functionName">
|
||||||
<functionName>
|
<functionName>
|
||||||
<nameExpr expr="(?!(if|while|for))[\w_]+[\s]*\("/>
|
<nameExpr expr="(?!(if|while|for))[\w_]+[\s]*\("/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user