#488 patch makes FunctionList for Javascript availible

Next_release
closed
nobody
6
2013-07-10
2013-06-30
lotress
No

just some regular expression changes in functionList.xml

1 Attachments

Discussion

  • lotress

    lotress - 2013-06-30

    some fixes

                <parser id="js_function" displayName="Javascript" commentExpr="((/\*.*?\*)/|(//.*?$))">
                    <function
                        mainExpr="((^[\s]*|[\s]+|[;\}\.])([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*[\s]*=|^[\s]*|[\s]+|[;\}\.])[\s]*function([\s]+[_A-Za-z][\w_]*\([^\)\(]*\)|\([^\)\(]*\))[\n\s]*\{"
                        displayMode="$className->$functionName">
                        <functionName>
                            <nameExpr expr="[_A-Za-z][\w_]*[\s]*=|[_A-Za-z][\w_]*[\s]*\("/>
                            <nameExpr expr="[_A-Za-z][\w_]*"/>
                        </functionName>
                        <className>
                            <nameExpr expr="([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*\."/>
                            <nameExpr expr="([_A-Za-z][\w_]*\.)*[_A-Za-z][\w_]*"/>
                        </className>
                    </function>
                </parser>
    
     
    Last edit: lotress 2013-06-30
  • Don HO

    Don HO - 2013-07-03
    • status: open --> accepted
    • Priority: 5 --> 6
     
  • Don HO

    Don HO - 2013-07-10
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks