Class VoidType

All Implemented Interfaces:
NodeWithAnnotations<VoidType>, NodeWithRange<Node>, NodeWithTokenRange<Node>, Observable, Visitable, HasParentNode<Node>, Resolvable<ResolvedType>, Cloneable

public class VoidType extends Type implements NodeWithAnnotations<VoidType>
The return type of a MethodDeclaration when it returns void.
void helloWorld() { ... }
Author:
Julio Vilmar Gesser
  • Constructor Details

    • VoidType

      public VoidType()
    • VoidType

      public VoidType(TokenRange tokenRange)
      This constructor is used by the parser and is considered private.
  • Method Details