Class GlslNewFieldNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.variable.GlslNewFieldNode
- All Implemented Interfaces:
GlslNode,GlslRootNode
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGlslNewFieldNode(GlslType type, @Nullable String name, @Nullable GlslNode initializer) -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable GlslNode@Nullable StringgetName()@NotNull GlslSpecifiedTypegetType()inthashCode()setInitializer(@Nullable GlslNode initializer) stream()toString()voidvisit(GlslNodeVisitor visitor) Visits this node.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.ocelot.glslprocessor.api.node.GlslNode
getBody, setBody, setBody, toList, toSourceStringMethods inherited from interface io.github.ocelot.glslprocessor.api.node.GlslRootNode
asDeclaration, asField, asFunction, asStruct, isDeclaration, isField, isFunction, isStruct
-
Constructor Details
-
GlslNewFieldNode
-
-
Method Details
-
visit
Description copied from interface:GlslNodeVisits this node. -
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
getType
-
stream
-
getName
- Specified by:
getNamein interfaceGlslRootNode
-
getInitializer
-
setType
-
setName
- Specified by:
setNamein interfaceGlslRootNode
-
setInitializer
-
toString
-
equals
-
hashCode
public int hashCode()
-