Class GlslCaseLabelNode

java.lang.Object
io.github.ocelot.glslprocessor.api.node.branch.GlslCaseLabelNode
All Implemented Interfaces:
GlslNode

public final class GlslCaseLabelNode extends Object implements GlslNode
Since:
1.0.0
  • Constructor Details

    • GlslCaseLabelNode

      public GlslCaseLabelNode(@Nullable @Nullable GlslNode condition)
  • Method Details

    • isDefault

      public boolean isDefault()
    • getCondition

      public GlslNode getCondition()
    • setCondition

      public void setCondition(@Nullable @Nullable GlslNode condition)
    • visit

      public void visit(GlslNodeVisitor visitor)
      Description copied from interface: GlslNode
      Visits this node.
      Specified by:
      visit in interface GlslNode
      Parameters:
      visitor - The visitor visiting this node
    • getNodeType

      public GlslNodeType getNodeType()
      Specified by:
      getNodeType in interface GlslNode
      Returns:
      The type of node this class represents
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • stream

      public Stream<GlslNode> stream()
      Specified by:
      stream in interface GlslNode