org.codehaus.groovy.control
Interface ParserPlugin

All Known Implementing Classes:
ClassicParserPlugin

public interface ParserPlugin

A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser

Version:
$Revision: 1.3 $

Method Summary
 ModuleNode buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst)
           
 Reduction parseCST(SourceUnit sourceUnit, Reader reader)
           
 

Method Detail

parseCST

public Reduction parseCST(SourceUnit sourceUnit,
                          Reader reader)
                   throws CompilationFailedException
Throws:
CompilationFailedException

buildAST

public ModuleNode buildAST(SourceUnit sourceUnit,
                           ClassLoader classLoader,
                           Reduction cst)
                    throws ParserException
Throws:
ParserException


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