Class JavaSourceReader.ReadLineResult
- java.lang.Object
-
- io.github.mkoncek.classpathless.impl.JavaSourceReader.ReadLineResult
-
- Enclosing class:
- JavaSourceReader
static class JavaSourceReader.ReadLineResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
insideComment
(package private) java.lang.String
line
-
Constructor Summary
Constructors Constructor Description ReadLineResult(java.lang.String line, boolean insideComment)
Reads one line of input, ignoring content inside comments.
-
-
-
Constructor Detail
-
ReadLineResult
public ReadLineResult(java.lang.String line, boolean insideComment)
Reads one line of input, ignoring content inside comments. Stores the result in this.line and this.insideComment tells whether this line continues with a block (/*) comment.- Parameters:
line
- The line of text to read.insideComment
- Whether of not this line started inside a block comment.
-
-