ctags
ctags copied to clipboard
main: provide the command line interface to fill common fields of tags
PuppetManifest input:
class base {
file { "/tmp/deepclassheir1": ensure => file, mode => '0755' }
}
class sub1 inherits base {
file { "/tmp/deepclassheir2": ensure => file, mode => '0755' }
}
In the above input, base should be recorded to inherts field of sub1 tag.
To implement this, we have to provide the command line interface to fill common fields of tags.
I implemented _field=FIELD:VALUE regex flag. However, this one can only set parser specific fields of tags.