-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Hi all,
I've decided to add my changes to the Function List for javascript, to help you in your own developement. I believe it works better than the current inbuilt way, particularly for jQuery and other libraries. Let me know your thoughts?
<parser id="js_function" displayName="Javascript" commentExpr="((/\*.*?\*)/|(//.*?$))">
<function
mainExpr="((^|[\(\){};:=,\s])function(\s+[$_\w]*|\()|(?:[$_A-Za-z][\w_$]*\s*\.\s*(|prototype\s*\.)\s*[$_A-Za-z][\w_$]*\s*|[$_A-Za-z][\w_$]*\s*)[=:]\s*\(*(?:function(\s+|\()))"
displayMode="$className->$functionName">
<functionName>
<nameExpr expr="(?<=function)\s+[$_A-Za-z][\w_$]*|[$_A-Za-z][\w_$]*\s*[=:]"/>
<nameExpr expr="[$_A-Za-z][$_\w]*"/>
</functionName>
<className>
<nameExpr expr="[$_A-Za-z][$_\w]*\s*\.\s*"/>
<nameExpr expr="([$_A-Za-z][$_\w]*)*"/>
</className>
</function>
</parser>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels