@@ -33,7 +33,7 @@ module Firebase {
3333 result = initApp ( t2 ) .track ( t2 , t )
3434 )
3535 }
36-
36+
3737 /**
3838 * Gets a reference to a Firebase app, either the `firebase` object or an
3939 * app created explicitly with `initializeApp()`.
@@ -43,7 +43,7 @@ module Firebase {
4343 }
4444
4545 module Database {
46-
46+
4747 /** Gets a reference to a Firebase database object, such as `firebase.database()`. */
4848 private DataFlow:: SourceNode database ( DataFlow:: TypeTracker t ) {
4949 result = app ( ) .getAMethodCall ( "database" ) and t .start ( )
@@ -52,12 +52,12 @@ module Firebase {
5252 result = database ( t2 ) .track ( t2 , t )
5353 )
5454 }
55-
55+
5656 /** Gets a reference to a Firebase database object, such as `firebase.database()`. */
5757 DataFlow:: SourceNode database ( ) {
5858 result = database ( _)
5959 }
60-
60+
6161 /** Gets a node that refers to a `Reference` object, such as `firebase.database().ref()`. */
6262 DataFlow:: SourceNode ref ( DataFlow:: TypeTracker t ) {
6363 t .start ( ) and
@@ -84,12 +84,12 @@ module Firebase {
8484 result = ref ( t2 ) .track ( t2 , t )
8585 )
8686 }
87-
87+
8888 /** Gets a node that refers to a `Reference` object, such as `firebase.database().ref()`. */
8989 DataFlow:: SourceNode ref ( ) {
9090 result = ref ( _)
9191 }
92-
92+
9393 /** Gets a node that refers to a `Query` or `Reference` object. */
9494 DataFlow:: SourceNode query ( DataFlow:: TypeTracker t ) {
9595 t .start ( ) and
@@ -108,12 +108,12 @@ module Firebase {
108108 result = query ( t2 ) .track ( t2 , t )
109109 )
110110 }
111-
111+
112112 /** Gets a node that refers to a `Query` or `Reference` object. */
113113 DataFlow:: SourceNode query ( ) {
114114 result = query ( _)
115115 }
116-
116+
117117 /**
118118 * A call of form `query.on(...)` or `query.once(...)`.
119119 */
@@ -122,15 +122,15 @@ module Firebase {
122122 this = query ( ) .getAMethodCall ( ) and
123123 ( getMethodName ( ) = "on" or getMethodName ( ) = "once" )
124124 }
125-
125+
126126 /**
127127 * Gets the argument in which the callback is passed.
128128 */
129129 DataFlow:: Node getCallbackNode ( ) {
130130 result = getArgument ( 1 )
131131 }
132132 }
133-
133+
134134 /**
135135 * Gets a node that is passed as the callback to a `Reference.transaction` call.
136136 */
@@ -142,7 +142,7 @@ module Firebase {
142142 result = transactionCallback ( t2 ) .backtrack ( t2 , t )
143143 )
144144 }
145-
145+
146146 /**
147147 * Gets a node that is passed as the callback to a `Reference.transaction` call.
148148 */
@@ -165,7 +165,7 @@ module Firebase {
165165 result = namespace ( t2 ) .track ( t2 , t )
166166 )
167167 }
168-
168+
169169 /** Gets a reference to the Cloud Functions namespace. */
170170 DataFlow:: SourceNode namespace ( ) {
171171 result = namespace ( _)
@@ -185,7 +185,7 @@ module Firebase {
185185 DataFlow:: SourceNode database ( ) {
186186 result = database ( _)
187187 }
188-
188+
189189 /** Gets a data flow node holding a `RefBuilder` object. */
190190 DataFlow:: SourceNode refBuilder ( DataFlow:: TypeTracker t ) {
191191 t .start ( ) and
@@ -207,7 +207,7 @@ module Firebase {
207207 this = ref ( ) .getAMethodCall ( ) and
208208 getMethodName ( ) = "on" + any ( string s )
209209 }
210-
210+
211211 /**
212212 * Gets the data flow node holding the listener callback.
213213 */
@@ -216,7 +216,7 @@ module Firebase {
216216 }
217217 }
218218 }
219-
219+
220220 /**
221221 * Gets a value that will be invoked with a `DataSnapshot` value as its first parameter.
222222 */
0 commit comments