SourceFileLoader.from_stream


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.14" ) ]
public SourceFileLoader.from_stream (SourceBuffer buffer, SourceFile file, InputStream stream)

Creates a new SourceFileLoader object.

The contents is read from stream.

Parameters:

buffer

the SourceBuffer to load the contents into.

file

the SourceFile.

stream

the InputStream to load, e.g. stdin.

Returns:

a new SourceFileLoader object.