Skip to content
Snippets Groups Projects
Commit 89332755 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add support for @ftype - grid feature type.

parent e2ce8ec6
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,8 @@ module JsDuck
at_type
elsif look(/@xtype\b/)
at_xtype
elsif look(/@ftype\b/)
at_ftype
elsif look(/@member\b/)
at_member
elsif look(/@author\b/)
......@@ -244,6 +246,14 @@ module JsDuck
skip_white
end
# matches @ftype name
def at_ftype
match(/@ftype/)
add_tag(:ftype)
maybe_ident_chain(:name)
skip_white
end
# matches @member name ...
def at_member
match(/@member/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment