Class FunctionPrototype
java.lang.Object
io.github.douira.glsl_transformer.ast.node.basic.ASTNode
io.github.douira.glsl_transformer.ast.node.basic.InnerASTNode
io.github.douira.glsl_transformer.ast.node.basic.ListASTNode<FunctionParameter>
io.github.douira.glsl_transformer.ast.node.type.specifier.FunctionPrototype
- All Implemented Interfaces:
ListNode<FunctionParameter>,Cloneable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFunctionPrototype(FullySpecifiedType returnType, Identifier name) FunctionPrototype(FullySpecifiedType returnType, Identifier name, Stream<FunctionParameter> parameters) -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(ASTVisitor<R> visitor) clone()voidenterNode(ASTListener listener) voidexitNode(ASTListener listener) getName()voidsetName(Identifier name) voidsetReturnType(FullySpecifiedType returnType) Methods inherited from class io.github.douira.glsl_transformer.ast.node.basic.ListASTNode
getChildrenMethods inherited from class io.github.douira.glsl_transformer.ast.node.basic.ASTNode
cloneChild, cloneInto, detach, detachAndDelete, detachParent, getAncestor, getAncestor, getAncestor, getAncestors, getBranchAncestor, getBranchAncestor, getBranchAncestor, getBranchAncestorContinue, getChildClone, getNthParent, getParent, getParentSetter, getRoot, hasAncestor, hasAncestor, hasAncestor, hasAncestor, hasParent, markTemplate, replaceBy, replaceByAndDelete, setParent, setup, swap, unregisterSubtree, updateParents
-
Field Details
-
returnType
-
name
-
-
Constructor Details
-
FunctionPrototype
public FunctionPrototype(FullySpecifiedType returnType, Identifier name, Stream<FunctionParameter> parameters) -
FunctionPrototype
-
-
Method Details
-
getParameters
-
getReturnType
-
setReturnType
-
getName
-
setName
-
accept
-
enterNode
- Specified by:
enterNodein classInnerASTNode
-
exitNode
- Specified by:
exitNodein classInnerASTNode
-
clone
- Overrides:
clonein classListASTNode<FunctionParameter>
-
cloneInto
- Overrides:
cloneIntoin classListASTNode<FunctionParameter>
-
cloneSeparate
- Overrides:
cloneSeparatein classListASTNode<FunctionParameter>
-