IInputUnit

public interface IInputUnit extends IUnit

Unit representing a textual source file of a certain language implementation. An input unit can be passed to the ISyntaxService to parse the source file into a IParseUnit.

Methods

dialect

ILanguageImpl dialect()
Returns:Dialect of the source file, or null if it has no dialect.

langImpl

ILanguageImpl langImpl()
Returns:Language implementation of the source file.

text

String text()
Returns:Text of the source file.