Class ScalaParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.scala.ast.ScalaParser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.Parser
public final class ScalaParser extends Object implements net.sourceforge.pmd.lang.ast.Parser
Scala's Parser implementation. Defers parsing to the scala compiler via Scalameta. This parser then wraps all of ScalaMeta's Nodes in Java versions for compatibility.
-
-
Constructor Summary
Constructors Constructor Description ScalaParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTSource
parse(net.sourceforge.pmd.lang.ast.Parser.ParserTask task)
-
-
-
Method Detail
-
parse
public ASTSource parse(net.sourceforge.pmd.lang.ast.Parser.ParserTask task) throws net.sourceforge.pmd.lang.ast.ParseException
- Specified by:
parse
in interfacenet.sourceforge.pmd.lang.ast.Parser
- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
-