net.sourceforge.pmd.lang.objectivec
Class ObjectiveCParser

java.lang.Object
  extended by net.sourceforge.pmd.lang.AbstractParser
      extended by net.sourceforge.pmd.lang.objectivec.ObjectiveCParser
All Implemented Interfaces:
Parser

public class ObjectiveCParser
extends AbstractParser

Adapter for the Objective-C Parser.


Field Summary
 
Fields inherited from class net.sourceforge.pmd.lang.AbstractParser
parserOptions
 
Constructor Summary
ObjectiveCParser(ParserOptions parserOptions)
          Creates a new Objective-C Parser.
 
Method Summary
 boolean canParse()
           
 TokenManager createTokenManager(Reader source)
           
 Map<Integer,String> getSuppressMap()
           
 Node parse(String fileName, Reader source)
           
 
Methods inherited from class net.sourceforge.pmd.lang.AbstractParser
getParserOptions, getTokenManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectiveCParser

public ObjectiveCParser(ParserOptions parserOptions)
Creates a new Objective-C Parser.

Parameters:
parserOptions - the options
Method Detail

createTokenManager

public TokenManager createTokenManager(Reader source)
Specified by:
createTokenManager in class AbstractParser

canParse

public boolean canParse()

parse

public Node parse(String fileName,
                  Reader source)
           throws ParseException
Throws:
ParseException

getSuppressMap

public Map<Integer,String> getSuppressMap()


Copyright © 2002–2015 InfoEther. All rights reserved.