forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PuppetManifest,Units: turn on autoFQ
@ahakanbaba suggests specifying :: as default scope separator. Clsoe universal-ctags#1916.
- Loading branch information
Showing
16 changed files
with
62 additions
and
29 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
Units/parser-puppetManifest.r/puppet-classheirarchy.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
base input.pp /^class base {$/;" class line:3 language:PuppetManifest end:5 | ||
/tmp/classheir1 input.pp /^ file { "\/tmp\/classheir1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:base end:4 | ||
/tmp/classheir1 input.pp /^ file { "\/tmp\/classheir1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:::base end:4 | ||
sub1 input.pp /^class sub1 inherits base {$/;" class line:7 language:PuppetManifest end:9 | ||
/tmp/classheir2 input.pp /^ file { "\/tmp\/classheir2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:sub1 end:8 | ||
/tmp/classheir2 input.pp /^ file { "\/tmp\/classheir2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:::sub1 end:8 | ||
sub2 input.pp /^class sub2 inherits base {$/;" class line:11 language:PuppetManifest end:13 | ||
/tmp/classheir3 input.pp /^ file { "\/tmp\/classheir3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:sub2 end:12 | ||
/tmp/classheir3 input.pp /^ file { "\/tmp\/classheir3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:::sub2 end:12 |
6 changes: 3 additions & 3 deletions
6
Units/parser-puppetManifest.r/puppet-classincludes.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
base input.pp /^class base {$/;" class line:3 language:PuppetManifest end:5 | ||
/tmp/classincludes1 input.pp /^ file { "\/tmp\/classincludes1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:base end:4 | ||
/tmp/classincludes1 input.pp /^ file { "\/tmp\/classincludes1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:::base end:4 | ||
sub1 input.pp /^class sub1 inherits base {$/;" class line:7 language:PuppetManifest end:9 | ||
/tmp/classincludes2 input.pp /^ file { "\/tmp\/classincludes2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:sub1 end:8 | ||
/tmp/classincludes2 input.pp /^ file { "\/tmp\/classincludes2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:::sub1 end:8 | ||
sub2 input.pp /^class sub2 inherits base {$/;" class line:11 language:PuppetManifest end:13 | ||
/tmp/classincludes3 input.pp /^ file { "\/tmp\/classincludes3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:sub2 end:12 | ||
/tmp/classincludes3 input.pp /^ file { "\/tmp\/classincludes3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:::sub2 end:12 | ||
sub input.pp /^$sub = "sub2"$/;" variable line:15 language:PuppetManifest |
10 changes: 5 additions & 5 deletions
10
Units/parser-puppetManifest.r/puppet-classname.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
t input.pp /^class t {$/;" class line:1 language:PuppetManifest end:3 | ||
/tmp/multipleclasst input.pp /^ file { "\/tmp\/multipleclasst": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:t end:2 | ||
/tmp/multipleclasst input.pp /^ file { "\/tmp\/multipleclasst": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:::t end:2 | ||
one_ input.pp /^class one_ {$/;" class line:5 language:PuppetManifest end:7 | ||
/tmp/multipleclassone_ input.pp /^ file { "\/tmp\/multipleclassone_": content => "one" }$/;" resource line:6 language:PuppetManifest scope:class:one_ end:6 | ||
/tmp/multipleclassone_ input.pp /^ file { "\/tmp\/multipleclassone_": content => "one" }$/;" resource line:6 language:PuppetManifest scope:class:::one_ end:6 | ||
on_e input.pp /^class on_e {$/;" class line:9 language:PuppetManifest end:11 | ||
/tmp/multipleclasson_e input.pp /^ file { "\/tmp\/multipleclasson_e": content => "one" }$/;" resource line:10 language:PuppetManifest scope:class:on_e end:10 | ||
/tmp/multipleclasson_e input.pp /^ file { "\/tmp\/multipleclasson_e": content => "one" }$/;" resource line:10 language:PuppetManifest scope:class:::on_e end:10 | ||
o_ne::tw_o input.pp /^class o_ne::tw_o {$/;" class line:14 language:PuppetManifest end:16 | ||
/tmp/multipleclasso_netw_o input.pp /^ file { "\/tmp\/multipleclasso_netw_o": content => "two" }$/;" resource line:15 language:PuppetManifest scope:class:o_ne::tw_o end:15 | ||
/tmp/multipleclasso_netw_o input.pp /^ file { "\/tmp\/multipleclasso_netw_o": content => "two" }$/;" resource line:15 language:PuppetManifest scope:class:::o_ne::tw_o end:15 | ||
o_ne::two_ input.pp /^class o_ne::two_ {$/;" class line:18 language:PuppetManifest end:20 | ||
/tmp/multipleclasso_netwo_ input.pp /^ file { "\/tmp\/multipleclasso_netwo_": content => "two" }$/;" resource line:19 language:PuppetManifest scope:class:o_ne::two_ end:19 | ||
/tmp/multipleclasso_netwo_ input.pp /^ file { "\/tmp\/multipleclasso_netwo_": content => "two" }$/;" resource line:19 language:PuppetManifest scope:class:::o_ne::two_ end:19 |
2 changes: 1 addition & 1 deletion
2
Units/parser-puppetManifest.r/puppet-classpathtest.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mytype input.pp /^define mytype {$/;" definition line:3 language:PuppetManifest end:5 | ||
/tmp/classtest input.pp /^ file { "\/tmp\/classtest": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:definition:mytype end:4 | ||
testing input.pp /^class testing {$/;" class line:7 language:PuppetManifest end:9 | ||
componentname input.pp /^ mytype { "componentname": }$/;" resource line:8 language:PuppetManifest scope:class:testing end:8 | ||
componentname input.pp /^ mytype { "componentname": }$/;" resource line:8 language:PuppetManifest scope:class:::testing end:8 |
4 changes: 2 additions & 2 deletions
4
Units/parser-puppetManifest.r/puppet-collection.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
one input.pp /^class one {$/;" class line:1 language:PuppetManifest end:4 | ||
/tmp/colltest1 input.pp /^ @file { "\/tmp\/colltest1": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:one end:2 | ||
/tmp/colltest2 input.pp /^ @file { "\/tmp\/colltest2": content => "two" }$/;" resource line:3 language:PuppetManifest scope:class:one end:3 | ||
/tmp/colltest1 input.pp /^ @file { "\/tmp\/colltest1": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:::one end:2 | ||
/tmp/colltest2 input.pp /^ @file { "\/tmp\/colltest2": content => "two" }$/;" resource line:3 language:PuppetManifest scope:class:::one end:3 | ||
two input.pp /^class two {$/;" class line:6 language:PuppetManifest end:8 |
10 changes: 5 additions & 5 deletions
10
Units/parser-puppetManifest.r/puppet-deepclassheirarchy.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
base input.pp /^class base {$/;" class line:3 language:PuppetManifest end:5 | ||
/tmp/deepclassheir1 input.pp /^ file { "\/tmp\/deepclassheir1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:base end:4 | ||
/tmp/deepclassheir1 input.pp /^ file { "\/tmp\/deepclassheir1": ensure => file, mode => '0755' }$/;" resource line:4 language:PuppetManifest scope:class:::base end:4 | ||
sub1 input.pp /^class sub1 inherits base {$/;" class line:7 language:PuppetManifest end:9 | ||
/tmp/deepclassheir2 input.pp /^ file { "\/tmp\/deepclassheir2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:sub1 end:8 | ||
/tmp/deepclassheir2 input.pp /^ file { "\/tmp\/deepclassheir2": ensure => file, mode => '0755' }$/;" resource line:8 language:PuppetManifest scope:class:::sub1 end:8 | ||
sub2 input.pp /^class sub2 inherits sub1 {$/;" class line:11 language:PuppetManifest end:13 | ||
/tmp/deepclassheir3 input.pp /^ file { "\/tmp\/deepclassheir3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:sub2 end:12 | ||
/tmp/deepclassheir3 input.pp /^ file { "\/tmp\/deepclassheir3": ensure => file, mode => '0755' }$/;" resource line:12 language:PuppetManifest scope:class:::sub2 end:12 | ||
sub3 input.pp /^class sub3 inherits sub2 {$/;" class line:15 language:PuppetManifest end:17 | ||
/tmp/deepclassheir4 input.pp /^ file { "\/tmp\/deepclassheir4": ensure => file, mode => '0755' }$/;" resource line:16 language:PuppetManifest scope:class:sub3 end:16 | ||
/tmp/deepclassheir4 input.pp /^ file { "\/tmp\/deepclassheir4": ensure => file, mode => '0755' }$/;" resource line:16 language:PuppetManifest scope:class:::sub3 end:16 | ||
sub4 input.pp /^class sub4 inherits sub3 {$/;" class line:19 language:PuppetManifest end:21 | ||
/tmp/deepclassheir5 input.pp /^ file { "\/tmp\/deepclassheir5": ensure => file, mode => '0755' }$/;" resource line:20 language:PuppetManifest scope:class:sub4 end:20 | ||
/tmp/deepclassheir5 input.pp /^ file { "\/tmp\/deepclassheir5": ensure => file, mode => '0755' }$/;" resource line:20 language:PuppetManifest scope:class:::sub4 end:20 |
6 changes: 3 additions & 3 deletions
6
Units/parser-puppetManifest.r/puppet-fqparents.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
base input.pp /^class base {$/;" class line:1 language:PuppetManifest end:5 | ||
one input.pp /^ class one {$/;" class line:2 language:PuppetManifest scope:class:base end:4 | ||
/tmp/fqparent1 input.pp /^ file { "\/tmp\/fqparent1": ensure => file }$/;" resource line:3 language:PuppetManifest scope:class:base.one end:3 | ||
one input.pp /^ class one {$/;" class line:2 language:PuppetManifest scope:class:::base end:4 | ||
/tmp/fqparent1 input.pp /^ file { "\/tmp\/fqparent1": ensure => file }$/;" resource line:3 language:PuppetManifest scope:class:::base::one end:3 | ||
two::three input.pp /^class two::three inherits base::one {$/;" class line:7 language:PuppetManifest end:9 | ||
/tmp/fqparent2 input.pp /^ file { "\/tmp\/fqparent2": ensure => file }$/;" resource line:8 language:PuppetManifest scope:class:two::three end:8 | ||
/tmp/fqparent2 input.pp /^ file { "\/tmp\/fqparent2": ensure => file }$/;" resource line:8 language:PuppetManifest scope:class:::two::three end:8 |
4 changes: 2 additions & 2 deletions
4
Units/parser-puppetManifest.r/puppet-multipleclass.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
one input.pp /^class one {$/;" class line:1 language:PuppetManifest end:3 | ||
/tmp/multipleclassone input.pp /^ file { "\/tmp\/multipleclassone": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:one end:2 | ||
/tmp/multipleclassone input.pp /^ file { "\/tmp\/multipleclassone": content => "one" }$/;" resource line:2 language:PuppetManifest scope:class:::one end:2 | ||
two input.pp /^class two {$/;" class line:5 language:PuppetManifest end:7 | ||
/tmp/multipleclasstwo input.pp /^ file { "\/tmp\/multipleclasstwo": content => "two" }$/;" resource line:6 language:PuppetManifest scope:class:two end:6 | ||
/tmp/multipleclasstwo input.pp /^ file { "\/tmp\/multipleclasstwo": content => "two" }$/;" resource line:6 language:PuppetManifest scope:class:::two end:6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
base input.pp /^class base {$/;" class line:1 language:PuppetManifest end:3 | ||
/tmp/multisubtest input.pp /^ file { "\/tmp\/multisubtest": content => "base", mode => '0644' }$/;" resource line:2 language:PuppetManifest scope:class:base end:2 | ||
/tmp/multisubtest input.pp /^ file { "\/tmp\/multisubtest": content => "base", mode => '0644' }$/;" resource line:2 language:PuppetManifest scope:class:::base end:2 | ||
sub1 input.pp /^class sub1 inherits base {$/;" class line:5 language:PuppetManifest end:6 | ||
sub2 input.pp /^class sub2 inherits base {$/;" class line:9 language:PuppetManifest end:10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Units/parser-puppetManifest.r/puppet-subclass_name_duplication.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
one::fake input.pp /^class one::fake {$/;" class line:3 language:PuppetManifest end:5 | ||
/tmp/subclass_name_duplication1 input.pp /^ file { "\/tmp\/subclass_name_duplication1": ensure => present }$/;" resource line:4 language:PuppetManifest scope:class:one::fake end:4 | ||
/tmp/subclass_name_duplication1 input.pp /^ file { "\/tmp\/subclass_name_duplication1": ensure => present }$/;" resource line:4 language:PuppetManifest scope:class:::one::fake end:4 | ||
two::fake input.pp /^class two::fake {$/;" class line:7 language:PuppetManifest end:9 | ||
/tmp/subclass_name_duplication2 input.pp /^ file { "\/tmp\/subclass_name_duplication2": ensure => present }$/;" resource line:8 language:PuppetManifest scope:class:two::fake end:8 | ||
/tmp/subclass_name_duplication2 input.pp /^ file { "\/tmp\/subclass_name_duplication2": ensure => present }$/;" resource line:8 language:PuppetManifest scope:class:::two::fake end:8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--extras=+q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/tmp/classheir1 input.pp /^ file { "\/tmp\/classheir1": ensure => file, mode => '0755' }$/;" r class:::base | ||
::base input.pp /^class base {$/;" c | ||
::base::/tmp/classheir1 input.pp /^ file { "\/tmp\/classheir1": ensure => file, mode => '0755' }$/;" r class:::base | ||
base input.pp /^class base {$/;" c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class base { | ||
file { "/tmp/classheir1": ensure => file, mode => '0755' } | ||
} | ||
|
||
include base | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters