<token name="@return" handler="SetReturns" match="{?(?'type'[\w\.\$]+)}?(?:\s+(?'description'[\s\S]*))?"/>
name="@return"
handler="SetReturns"
match="{?(?'type'[\w\.\$]+)}?(?:\s+(?'description'[\s\S]*))?
<expression name="Function" handler="FunctionHandler" description="matches any type of function expression"> <rxp><![CDATA[ (?:\[comment(?'Comment'\d+)\]\s*)?(?:(?'VarDecl'var)\s*)?# (?:(?'FunctDeclLeft'[\w\$\.]+)\s*=\s*)?(?'NewKeyword'new\s+)?\(*\s*function\s*?(?'FunctDeclRight'[\w.$]+)?# \s*\((?'FunctArgs'[\w.$\s,]*?)\)\[function(?'FunctIndex'\d+)\]\s*\)* ]]></rxp> </expression>
name="Function"
handler="FunctionHandler"
description="Matches any type of function expression"
IgnorePatternWhitespace
<![CDATA[ (?:\[comment(?'Comment'\d+)\]\s*)?(?:(?'VarDecl'var)\s*)?# (?:(?'FunctDeclLeft'[\w\$\.]+)\s*=\s*)?(?'NewKeyword'new\s+)?\(*\s*function\s*?(?'FunctDeclRight'[\w.$]+)?# \s*\((?'FunctArgs'[\w.$\s,]*?)\)\[function(?'FunctIndex'\d+)\]\s*\)* ]]>
<mode name="Global" order="Namespace,Function,InheritanceStatement,DocNewStatement,DocGeneric,Literal"/>
name="Global"
order="Namespace,Function,InheritanceStatement,DocNewStatement,DocGeneric,Literal"