Class GlslOperationNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.expression.GlslOperationNode
- All Implemented Interfaces:
GlslNode
- Since:
- 1.0.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGlslOperationNode(GlslNode first, GlslNode second, GlslOperationNode.Operand operand) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFirst()inthashCode()setOperand(GlslOperationNode.Operand operand) stream()toString()voidvisit(GlslNodeVisitor visitor) Visits this node.
-
Constructor Details
-
GlslOperationNode
-
-
Method Details
-
visit
Description copied from interface:GlslNodeVisits this node. -
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
stream
-
getFirst
- Returns:
- The first operand
-
getSecond
- Returns:
- The second operand
-
getOperand
- Returns:
- The operand of relationship the expressions have
-
setFirst
-
setSecond
-
setOperand
-
equals
-
hashCode
public int hashCode() -
toString
-