original_string: public static function fromNode($node, $parent) {
          if (is_null($node["value"]))
              return new Feature($node, $parent, $node->children());
          else
              return new ValueFeature($node, $parent, $node->children());
      }
code: public static function fromNode($node, $parent) {
          if (is_null($node["value"]))
              return new Feature($node, $parent, $node->children());
          else
              return new ValueFeature($node, $parent, $node->children());
      }
code_tokens: public static function fromNode ( $ node , $ parent ) { if ( is_null ( $ node [ "value" ] ) ) return new Feature ( $ node , $ parent , $ node -> children ( ) ) ; else return new ValueFeature ( $ node , $ parent , $ node -> children ( ) ) ; }
docstring: Creates a feature from an XML node.
  @param \SimpleXMLElement $node
  @param \SimpleXMLElement $parent
  @return Feature
docstring_tokens: Creates a feature from an XML node .