[Java] Interface ParserPlugin

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

Methods Summary

Methods
Type Params Return Type Name and description
ModuleNode buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst)
Reduction parseCST(SourceUnit sourceUnit, Reader reader)

Method Detail

public ModuleNode buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst)

public Reduction parseCST(SourceUnit sourceUnit, Reader reader)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/control/ParserPlugin.html