/plugins/JavaSideKick/tags/javasidekick-3-0-0/src/sidekick/property/PropertySideKickParsedData.java

# · Java · 51 lines · 7 code · 5 blank · 39 comment · 0 complexity · 77552300cac26012e3e710503757276e MD5 · raw file

  1. /*
  2. * SideKickParsedData.java
  3. *
  4. * Copyright (C) 2003, 2004 Slava Pestov
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version 2
  9. * of the License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19. */
  20. package sidekick.property;
  21. // Imports
  22. import sidekick.SideKickParsedData;
  23. /**
  24. * Stores a buffer structure tree.
  25. *
  26. * Plugins can extend this class to persist plugin-specific information.
  27. * For example, the XML plugin stores code completion-related structures using
  28. * a subclass.
  29. */
  30. public class PropertySideKickParsedData extends SideKickParsedData {
  31. /**
  32. * @param fileName The file name being parsed, used as the root of the
  33. * tree.
  34. */
  35. public PropertySideKickParsedData( String fileName ) {
  36. super( fileName );
  37. }
  38. /*
  39. public IAsset getAssetAtOffset(int pos) {
  40. IAsset asset = super.getAssetAtOffset(pos);
  41. System.out.println(asset.getName() + ": " + asset.getStart());
  42. return asset;
  43. }
  44. */
  45. }