Class ModelicaParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.modelica.ModelicaParser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.Parser
public class ModelicaParser extends net.sourceforge.pmd.lang.AbstractParser
-
-
Constructor Summary
Constructors Constructor Description ModelicaParser(net.sourceforge.pmd.lang.ParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanParse()protected net.sourceforge.pmd.lang.TokenManagercreateTokenManager(Reader source)Map<Integer,String>getSuppressMap()net.sourceforge.pmd.lang.ast.Nodeparse(String fileName, Reader source)
-
-
-
Method Detail
-
createTokenManager
protected net.sourceforge.pmd.lang.TokenManager createTokenManager(Reader source)
- Specified by:
createTokenManagerin classnet.sourceforge.pmd.lang.AbstractParser
-
canParse
public boolean canParse()
-
parse
public net.sourceforge.pmd.lang.ast.Node parse(String fileName, Reader source) throws net.sourceforge.pmd.lang.ast.ParseException
- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
-