Class ErrorBuilder
java.lang.Object
dev.engine_room.flywheel.backend.glsl.error.ErrorBuilder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()static ErrorBuildercreate()header(ErrorLevel level, String msg) hintIncludeFor(@Nullable Span span, String msg) voidnested(ErrorBuilder err) pointAtFile(SourceFile file) pointAtFile(SourceLines source) pointAtFile(String file) pointAtFile(net.minecraft.resources.ResourceLocation file) pointAtLine(SourceLines lines, int spanLine, int ctxLines) pointAtLine(SourceLines lines, int spanLine, int ctxLines, int firstCol, int lastCol)
-
Field Details
-
CONSOLE_COLORS
@VisibleForTesting public static boolean CONSOLE_COLORS
-
-
Method Details
-
create
-
error
-
warn
-
hint
-
note
-
header
-
extra
-
pointAtFile
-
pointAtFile
-
pointAtFile
-
pointAtFile
-
hintIncludeFor
-
pointAt
-
pointAt
-
pointAtLine
-
pointAtLine
public ErrorBuilder pointAtLine(SourceLines lines, int spanLine, int ctxLines, int firstCol, int lastCol) -
build
-
nested
-