-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...l/languages/php/.snapshots/TestPattern-anonymous_function_names_and_bodies_are_unanchored
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,11 @@ | ||
(*builder.Result)({ | ||
Query: (string) (len=100) "([(anonymous_function_creation_expression [ (formal_parameters )] [ (compound_statement )])] @root)", | ||
VariableNames: ([]string) { | ||
}, | ||
ParamToVariable: (map[string]string) { | ||
}, | ||
EqualParams: ([][]string) <nil>, | ||
ParamToContent: (map[string]map[string]string) { | ||
}, | ||
RootVariable: (*language.PatternVariable)(<nil>) | ||
}) |
12 changes: 12 additions & 0 deletions
12
internal/languages/php/.snapshots/TestPattern-function_names_and_bodies_are_unanchored
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,12 @@ | ||
(*builder.Result)({ | ||
Query: (string) (len=91) "([(function_definition name: (_) [ (formal_parameters )] [ (compound_statement )])] @root)", | ||
VariableNames: ([]string) (len=1) { | ||
(string) (len=1) "_" | ||
}, | ||
ParamToVariable: (map[string]string) { | ||
}, | ||
EqualParams: ([][]string) <nil>, | ||
ParamToContent: (map[string]map[string]string) { | ||
}, | ||
RootVariable: (*language.PatternVariable)(<nil>) | ||
}) |
2 changes: 1 addition & 1 deletion
2
internal/languages/php/.snapshots/TestPattern-parameter_names_are_unanchored
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
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