Package io.github.mkoncek.classpathless
Class JavaSourceReader.ReadLineResult
java.lang.Object
io.github.mkoncek.classpathless.JavaSourceReader.ReadLineResult
- Enclosing class:
- JavaSourceReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReadLineResult
(String line, boolean insideComment) Reads one line of input, ignoring content inside comments. -
Method Summary
-
Field Details
-
line
String line -
insideComment
boolean insideComment
-
-
Constructor Details
-
ReadLineResult
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.
-