Skip to content

Commit

Permalink
add ctags conf file with actionscript support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Pinstein authored and Alan Pinstein committed Nov 18, 2010
1 parent 9abca73 commit 0d1d033
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ctags
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--langdef=actionscript
--langmap=actionscript:.as
--regex-actionscript=/^[ \t]*[(private| public|static) ( \t)]*function[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f, function, functions/
--regex-actionscript=/^[ \t]*[(public) ( \t)]*function[ \t]+(set|get) [ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1 \2/p,property, properties/
--regex-actionscript=/^[ \t]*[(private| public|static) ( \t)]*var[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/v,variable, variables/
--regex-actionscript=/.*\.prototype \.([A-Za-z0-9 ]+)=([ \t]?)function( [ \t]?)*\(/\1/ f,function, functions/
--regex-actionscript=/^ *(public)? +class +([A-Za-z0-9_]+)/\2/c,class, classes/

0 comments on commit 0d1d033

Please sign in to comment.