Class PackageNode

java.lang.Object
All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler

public class PackageNode
extends AnnotatedNode
Represents a package in the AST.
  • Constructor Details

    • PackageNode

      public PackageNode​(java.lang.String name)
  • Method Details

    • getName

      public java.lang.String getName()
    • getText

      public java.lang.String getText()
      Overrides:
      getText in class ASTNode
      Returns:
      the text display of this package definition
    • visit

      public void visit​(GroovyCodeVisitor visitor)
      Overrides:
      visit in class ASTNode