Class GlslTreeStringWriter
java.lang.Object
io.github.ocelot.glslprocessor.api.visitor.GlslTreeVisitor
io.github.ocelot.glslprocessor.api.visitor.GlslTreeStringWriter
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()voidvoidvisitDirective(String directive) @Nullable GlslNodeVisitorvoidvisitMacro(String key, String value) voidvisitMarkers(Map<String, GlslNode> markers) voidvoidvoidvisitTreeEnd(GlslTree tree) Visits the end of the tree.voidvisitVersion(GlslVersionStatement version) Methods inherited from class io.github.ocelot.glslprocessor.api.visitor.GlslTreeVisitor
visitFunctionEnd
-
Constructor Details
-
GlslTreeStringWriter
public GlslTreeStringWriter()
-
-
Method Details
-
visitMarkers
- Overrides:
visitMarkersin classGlslTreeVisitor
-
visitVersion
- Overrides:
visitVersionin classGlslTreeVisitor
-
visitDirective
- Overrides:
visitDirectivein classGlslTreeVisitor
-
visitMacro
- Overrides:
visitMacroin classGlslTreeVisitor
-
visitNewField
- Overrides:
visitNewFieldin classGlslTreeVisitor
-
visitStructDeclaration
- Overrides:
visitStructDeclarationin classGlslTreeVisitor
-
visitDeclaration
- Overrides:
visitDeclarationin classGlslTreeVisitor
-
visitFunction
- Overrides:
visitFunctionin classGlslTreeVisitor
-
visitTreeEnd
Description copied from class:GlslTreeVisitorVisits the end of the tree.- Overrides:
visitTreeEndin classGlslTreeVisitor- Parameters:
tree- The tree that was visited
-
toString
-