org.codehaus.groovy.antlr.syntax
Class AntlrClassSource

java.lang.Object
  extended by org.codehaus.groovy.antlr.syntax.AntlrClassSource
All Implemented Interfaces:
ClassSource

public class AntlrClassSource
extends Object
implements ClassSource

Provides a container with a handy name for an Antlr AST node that represents a class.


Constructor Summary
AntlrClassSource(String name, GroovySourceAST ast)
           
 
Method Summary
 GroovySourceAST getAST()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntlrClassSource

public AntlrClassSource(String name,
                        GroovySourceAST ast)
Method Detail

getName

public String getName()
Specified by:
getName in interface ClassSource

getAST

public GroovySourceAST getAST()


Copyright © 2003-2009 The Codehaus. All Rights Reserved.