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>
-
Field Summary
FieldsFields inherited from class io.github.douira.glsl_transformer.ast.node.basic.ListASTNode
children -
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) 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
detachFromParent, getFirstOfType, getFirstParentOfType, getNthParent, getParent, getParentSetter, getRoot, removeFromParent, replaceInParent, setParent, setup, 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
-