Class Node.TypeDeclarationNode

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Node

    public static final class Node.TypeDeclarationNode
    extends Node
    Represents a node in the type declaration AST.
    See Also:
    Serialized Form
    • Constructor Detail

      • TypeDeclarationNode

        public TypeDeclarationNode​(Token nodeType,
                                   java.lang.String str)
      • TypeDeclarationNode

        public TypeDeclarationNode​(Token nodeType)
      • TypeDeclarationNode

        public TypeDeclarationNode​(Token nodeType,
                                   Node child)
    • Method Detail

      • getString

        public java.lang.String getString()
        returns the string content.
        Overrides:
        getString in class Node
        Returns:
        non null.
      • cloneNode

        public Node.TypeDeclarationNode cloneNode​(boolean cloneTypeExprs)
        Overrides:
        cloneNode in class Node
        Returns:
        A detached clone of the Node, specifically excluding its children.