File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ abstract class FunctionModel extends Function {
54
54
/**
55
55
* A unit class for adding nodes that should implicitly read from all nested content.
56
56
*
57
- * For example, this might be appopriate for the argument to a method that serializes a struct.
57
+ * For example, this might be appropriate for the argument to a method that serializes a struct.
58
58
*/
59
59
class ImplicitFieldReadNode extends Unit {
60
60
/**
@@ -276,7 +276,7 @@ class ContentSet instanceof TContentSet {
276
276
Content getAReadContent ( ) {
277
277
this = TOneContent ( result )
278
278
or
279
- this = TAllContent ( ) and result = any ( Content c )
279
+ this = TAllContent ( ) and exists ( result )
280
280
}
281
281
282
282
/** Gets a textual representation of this content set. */
Original file line number Diff line number Diff line change @@ -69,15 +69,16 @@ module TextTemplate {
69
69
}
70
70
71
71
private class ExecuteTemplateMethod extends Method {
72
- string name ;
73
72
int inputArg ;
74
73
75
74
ExecuteTemplateMethod ( ) {
76
- this .hasQualifiedName ( "text/template" , "Template" , name ) and
77
- (
78
- name = "Execute" and inputArg = 1
79
- or
80
- name = "ExecuteTemplate" and inputArg = 2
75
+ exists ( string name |
76
+ this .hasQualifiedName ( "text/template" , "Template" , name ) and
77
+ (
78
+ name = "Execute" and inputArg = 1
79
+ or
80
+ name = "ExecuteTemplate" and inputArg = 2
81
+ )
81
82
)
82
83
}
83
84
You can’t perform that action at this time.
0 commit comments