Skip to content

Commit ec52c8f

Browse files
Closure Teamcopybara-github
Closure Team
authored andcommitted
Expose non-copying accessor for Inputs on JSChunk.
PiperOrigin-RevId: 718031482
1 parent 0987b71 commit ec52c8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/com/google/javascript/jscomp/JSChunk.java

+4
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ public ImmutableList<CompilerInput> getInputs() {
252252
return ImmutableList.copyOf(inputs.values());
253253
}
254254

255+
public Iterable<CompilerInput> getInputsIterable() {
256+
return inputs.values();
257+
}
258+
255259
/** Returns the input with the given name or null if none. */
256260
public CompilerInput getByName(String name) {
257261
return inputs.get(name);

0 commit comments

Comments
 (0)