added some phpdoc and getNode() method

- phpdoc helps with IDE auto completion
- getNode() gets the current parse tree node to get more
  information(e.g. attributes)
- removed methods from property as a property can not be final or abstract.