blob: f7a8ac2be187280f56b2f9eec24e8e75ef78b22c (
plain)
1
2
3
4
5
6
7
8
9
|
package org.zwobble.hobgoblin.compiler.ast;
public record DocComment(String value) {
public static final DocComment EMPTY = new DocComment("");
public Iterable<String> lines() {
return () -> value.lines().iterator();
}
}
|