/plugins/PHPParser/tags/PHPParser-1.2.6/src/gatchan/phpparser/project/itemfinder/PHPItem.java

# · Java · 41 lines · 22 code · 10 blank · 9 comment · 0 complexity · 000dad742fa9c233edfc4dd03bc9b0a8 MD5 · raw file

  1. package gatchan.phpparser.project.itemfinder;
  2. import javax.swing.*;
  3. /**
  4. * @author Matthieu Casanova
  5. */
  6. public interface PHPItem {
  7. int CLASS = 1;
  8. int METHOD = 2;
  9. int FIELD = 4;
  10. int INTERFACE = 8;
  11. int DOCUMENT = 16;// special type for document
  12. int DEFINE = 32;
  13. int GLOBAL = 64;
  14. int INCLUDE = 128;
  15. int VARIABLE = 256;
  16. int CLASS_CONSTANT = 512;
  17. int getItemType();
  18. String getName();
  19. /**
  20. * Returns the name of the item in lower case.
  21. * It will be used to quick find items
  22. *
  23. * @return the name in lower case
  24. */
  25. String getNameLowerCase();
  26. int getSourceStart();
  27. int getBeginLine();
  28. int getBeginColumn();
  29. String getPath();
  30. Icon getIcon();
  31. }