Package com.io7m.cedarbridge.exprsrc.api
Interface CBExpressionLineLogType
- All Known Subinterfaces:
CBExpressionSourceType
- All Known Implementing Classes:
CBExpressionSource
public interface CBExpressionLineLogType
A log of the lines of text encountered so far.
-
Method Summary
Modifier and TypeMethodDescriptioncontextualize(com.io7m.jlexing.core.LexicalPosition<?> position) Show a contextually highlighted line for the given lexical position.showLineFor(int lineNumber) Show the previously-encountered line with the given line number.
-
Method Details
-
showLineFor
Show the previously-encountered line with the given line number.- Parameters:
lineNumber- The line number- Returns:
- The line, if one has been encountered
-
contextualize
Show a contextually highlighted line for the given lexical position.- Parameters:
position- The position- Returns:
- The highlighted line, if one has been encountered
-