Interface Inclusion

All Superinterfaces:
Formation

public interface Inclusion extends Formation
An Inclusion represents the application of a preprocessor #include directive.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the file which was #include-d.
    Returns the token containing the file name in the include directive.

    Methods inherited from interface edu.udel.cis.vsl.abc.token.IF.Formation

    getLastFile, suffix
  • Method Details

    • getFile

      SourceFile getFile()
      Returns the file which was #include-d.
      Returns:
      the included file
    • getIncludeToken

      CivlcToken getIncludeToken()
      Returns the token containing the file name in the include directive. The token text will have the form <foo.c> or "foo.c". You can get the line number and so on from this token.
      Returns:
      the token containing the file name from the include directive