Package net.sourceforge.pmd.lang.matlab
Class MatlabParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.matlab.MatlabParser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.Parser
public class MatlabParser extends net.sourceforge.pmd.lang.AbstractParser
Adapter for the Matlab Parser.
-
-
Constructor Summary
Constructors Constructor Description MatlabParser(net.sourceforge.pmd.lang.ParserOptions parserOptions)
Creates a new Matlab Parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canParse()
net.sourceforge.pmd.lang.TokenManager
createTokenManager(java.io.Reader source)
java.util.Map<java.lang.Integer,java.lang.String>
getSuppressMap()
net.sourceforge.pmd.lang.ast.Node
parse(java.lang.String fileName, java.io.Reader source)
-
-
-
Method Detail
-
createTokenManager
public net.sourceforge.pmd.lang.TokenManager createTokenManager(java.io.Reader source)
- Specified by:
createTokenManager
in classnet.sourceforge.pmd.lang.AbstractParser
-
canParse
public boolean canParse()
-
parse
public net.sourceforge.pmd.lang.ast.Node parse(java.lang.String fileName, java.io.Reader source) throws net.sourceforge.pmd.lang.ast.ParseException
- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
getSuppressMap
public java.util.Map<java.lang.Integer,java.lang.String> getSuppressMap()
-
-