Add PL/SQL to FunctionList

Close #3741
This commit is contained in:
Berner Martin 2017-09-15 11:34:56 +02:00 committed by Don HO
parent a5ec6be8a9
commit d901c73f7d
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -78,6 +78,7 @@
<association id= "xml_node" langID= "9" /> <association id= "xml_node" langID= "9" />
<association id= "batch_label" langID="12" /> <association id= "batch_label" langID="12" />
<association id= "ini_section" langID="13" /> <association id= "ini_section" langID="13" />
<association id= "plsql_function" langID="17" />
<association id= "perl_function" langID="21" /> <association id= "perl_function" langID="21" />
<association id= "python_syntax" langID="22" /> <association id= "python_syntax" langID="22" />
<association id= "bash_function" langID="26" /> <association id= "bash_function" langID="26" />
@ -108,6 +109,20 @@
</associationMap> </associationMap>
<parsers> <parsers>
<!-- ========================================================= [ PL/SQL ] -->
<parser id="plsql_function" displayName="PL/SQL" commentExpr="((/\*.*?\*)/|(//.*?$))">
<function
mainExpr="((PROCEDURE)|(FUNCTION))[\s]+[A-Za-z][\w_]*([\s]*\([^\)]*\)[\s]*)?(([\s]*;)|([\s]*([ia]s))|([\s]+(RETURN)([\s]+[\w%\.]+)+(([\s]*;)|([\s]+([ia]s)))))"
displayMode="$className->$functionName"
>
<functionName>
<nameExpr expr="[\s]+[A-Za-z][\w_]*([\s]*\([^\)]*\))?(([\s]*;)|([\s]*([ia]s))|([\s]+(RETURN)([\s]+[\w%\.]+)+(([\s]*;)|([\s]+([ia]s)))))"/>
<nameExpr expr="[A-Za-z][\w_]*([\s]*\([^\)]*\))?(([\s]*;)|([\s]*([ia]s))|([\s]+(RETURN)([\s]+[\w%\.]+)+(([\s]*;)|([\s]+([ia]s)))))"/>
<nameExpr expr="[A-Za-z][\w_]*([\s]*\([^\)]*\))?(([\s]+(RETURN)([\s]+[\w%\.]+)+))*"/>
</functionName>
</function>
</parser>
<!-- ========================================================= [ PHP ] --> <!-- ========================================================= [ PHP ] -->
<!-- PHP - Personal Home Page / PHP Hypertext Preprocessor --> <!-- PHP - Personal Home Page / PHP Hypertext Preprocessor -->