Class PHPTokenizer

  • All Implemented Interfaces:
    net.sourceforge.pmd.cpd.Tokenizer

    public class PHPTokenizer
    extends java.lang.Object
    implements net.sourceforge.pmd.cpd.Tokenizer
    Simple tokenizer for PHP.
    • Field Summary

      • Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer

        DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
    • Constructor Summary

      Constructors 
      Constructor Description
      PHPTokenizer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void tokenize​(net.sourceforge.pmd.cpd.SourceCode tokens, net.sourceforge.pmd.cpd.Tokens tokenEntries)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PHPTokenizer

        public PHPTokenizer()
    • Method Detail

      • tokenize

        public void tokenize​(net.sourceforge.pmd.cpd.SourceCode tokens,
                             net.sourceforge.pmd.cpd.Tokens tokenEntries)
        Specified by:
        tokenize in interface net.sourceforge.pmd.cpd.Tokenizer