- All Superinterfaces:
Formation
An Inclusion represents the application of a preprocessor
#include directive.-
Method Summary
Modifier and TypeMethodDescriptiongetFile()Returns the file which was#include-d.Returns the token containing the file name in the include directive.Methods inherited from interface dev.civl.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 forminvalid input: '<'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
-