gov.llnl.babel.backend.writers
Interface LineRedirector
- LanguageWriterForC, LanguageWriterForCxx, LanguageWriterForMatlab
public interface LineRedirector
Interface LineRedirector
is implemented by language writers
that support #line Preprocessor redirectives, or some similar mechanism
for VPATH builds. (e.g. C and C++)
int | getLineCount() - get the current line number being printed.
|
void | redirectBegin(String path, int line) - Mark a region where the debugger should be redirected to another file
starting on a specific line
|
void | redirectEnd(String path, int line) - End the region where the debugger can just follow this file.
|
getLineCount
public int getLineCount()
get the current line number being printed.
redirectBegin
public void redirectBegin(String path,
int line)
Mark a region where the debugger should be redirected to another file
starting on a specific line
redirectEnd
public void redirectEnd(String path,
int line)
End the region where the debugger can just follow this file.