Class GlslSwitchVisitor

java.lang.Object
io.github.ocelot.glslprocessor.api.visitor.GlslSwitchVisitor

@Experimental public class GlslSwitchVisitor extends Object
Since:
1.0.0
  • Constructor Details

    • GlslSwitchVisitor

      public GlslSwitchVisitor()
    • GlslSwitchVisitor

      public GlslSwitchVisitor(@Nullable @Nullable GlslSwitchVisitor parent)
  • Method Details

    • visitLabel

      @Nullable public @Nullable GlslNodeVisitor visitLabel(GlslCaseLabelNode node)
      Visits the specified switch label.
      Parameters:
      node - The node to visit
      Returns:
      A visitor for the body or null to skip
    • visitSwitchEnd

      public void visitSwitchEnd(GlslSwitchNode node)