2013-01-06 01:50:12 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<NotepadPlus>
|
|
|
|
<functionList>
|
|
|
|
<associationMap>
|
2013-01-18 01:48:30 +00:00
|
|
|
<association ext=".h" id="cpp_class"/>
|
|
|
|
<association ext=".hpp" id="cpp_class"/>
|
|
|
|
<association ext=".hxx" id="cpp_class"/>
|
|
|
|
<association ext=".c" id="c_cpp_function"/>
|
|
|
|
<association ext=".cpp" id="c_cpp_function"/>
|
|
|
|
<association ext=".cxx" id="c_cpp_function"/>
|
2013-01-06 01:50:12 +00:00
|
|
|
</associationMap>
|
|
|
|
<parsers>
|
|
|
|
<parser id="cpp_class" displayName="C++ Class">
|
|
|
|
<classRange
|
|
|
|
mainExpr="^[\t ]*(class|struct)[\t ]+[\w]+[\s]*(:[\s]*(public|protected|private)[\s]+[\w]+[\s]*)?\{"
|
|
|
|
openSymbole = "\{"
|
|
|
|
closeSymbole = "\}"
|
|
|
|
displayMode="node">
|
|
|
|
<className>
|
|
|
|
<nameExpr expr="(class|struct)[\t ]+[\w]+"/>
|
|
|
|
<nameExpr expr="[\t ]+[\w]+"/>
|
|
|
|
<nameExpr expr="[\w]+"/>
|
|
|
|
</className>
|
|
|
|
<function
|
|
|
|
mainExpr="^[\t ]*((static|const)[\s]+)?[\w]+([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+)([\w_]+[\s]*::)?(?!(if|whil|for))[\w_]+[\s]*\([\n\w_,*&\s]*\)([\s]*const[\s]*)?[\n\s]*\{">
|
|
|
|
<functionName>
|
|
|
|
<funcNameExpr expr="(?!(if|whil|for))[\w_]+[\s]*\("/>
|
|
|
|
<funcNameExpr expr="(?!(if|whil|for))[\w_]+"/>
|
|
|
|
</functionName>
|
|
|
|
</function>
|
|
|
|
</classRange>
|
|
|
|
|
|
|
|
</parser>
|
|
|
|
<parser id="c_cpp_function" displayName="C++/C source">
|
|
|
|
<function
|
2013-01-18 01:48:30 +00:00
|
|
|
mainExpr="^[\t ]*((static|const)[\s]+)?[\w]+([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+)([\w_]+[\s]*::)?(?!(if|whil|for))[\w_]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"
|
2013-01-06 01:50:12 +00:00
|
|
|
displayMode="$className->$functionName">
|
|
|
|
<functionName>
|
|
|
|
<nameExpr expr="(?!(if|whil|for))[\w_]+[\s]*\("/>
|
|
|
|
<nameExpr expr="(?!(if|whil|for))[\w_]+"/>
|
|
|
|
</functionName>
|
|
|
|
<className>
|
2013-01-23 22:59:54 +00:00
|
|
|
<nameExpr expr="[\w_]+(?=[\s]*::)"/>
|
2013-01-06 01:50:12 +00:00
|
|
|
</className>
|
|
|
|
</function>
|
|
|
|
</parser>
|
|
|
|
</parsers>
|
|
|
|
</functionList>
|
|
|
|
</NotepadPlus>
|