groovy / 3.0 / org / codehaus / groovy / ast / packagenode.html

[Java] Class PackageNode

  • org.codehaus.groovy.ast.PackageNode
public class PackageNode
extends AnnotatedNode

Represents a package in the AST.

Constructor Summary

Constructors
Constructor and description
PackageNode (String name)

Methods Summary

Methods
Type Params Return Type Name and description
public String getName()
public String getText()
Returns:
the text display of this package definition
public void visit(GroovyCodeVisitor visitor)

Inherited Methods Summary

Constructor Detail

public PackageNode(String name)

Method Detail

public String getName()

public String getText()

Returns:
the text display of this package definition

public void visit(GroovyCodeVisitor visitor)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.9/html/gapi/org/codehaus/groovy/ast/PackageNode.html