Package foundry.veil.impl.glsl.visitor
Class GlslStringWriter
java.lang.Object
foundry.veil.impl.glsl.visitor.GlslStringWriter
- All Implemented Interfaces:
GlslTreeVisitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
void
visitDeclaration
(GlslDeclaration declaration) void
visitDirective
(String directive) void
visitField
(GlslNewNode newNode) @Nullable GlslFunctionVisitor
void
visitMarkers
(Map<String, GlslNode> markers) void
visitStruct
(GlslStructNode structSpecifier) void
void
visitVersion
(GlslVersion version)
-
Constructor Details
-
GlslStringWriter
public GlslStringWriter()
-
-
Method Details
-
visitMarkers
- Specified by:
visitMarkers
in interfaceGlslTreeVisitor
-
visitVersion
- Specified by:
visitVersion
in interfaceGlslTreeVisitor
-
visitDirective
- Specified by:
visitDirective
in interfaceGlslTreeVisitor
-
visitField
- Specified by:
visitField
in interfaceGlslTreeVisitor
-
visitStruct
- Specified by:
visitStruct
in interfaceGlslTreeVisitor
-
visitDeclaration
- Specified by:
visitDeclaration
in interfaceGlslTreeVisitor
-
visitFunction
- Specified by:
visitFunction
in interfaceGlslTreeVisitor
-
visitTreeEnd
public void visitTreeEnd()- Specified by:
visitTreeEnd
in interfaceGlslTreeVisitor
-
toString
-